Glib::ValueBase_Attribute Class Reference

Glib::Value basing on YGP::AttributValues. More...

Inherited by Glib::Value< YGP::ADate >, Glib::Value< YGP::ANumeric >, Glib::Value< YGP::ATime >, Glib::Value< YGP::ATimestamp >, and Glib::Value< YGP::AYear >.

List of all members.

Public Types

typedef const gchar * CType

Public Member Functions

GParamSpec * create_param_spec (const ustring &name) const
void set (const YGP::AttributValue &data)

Static Public Member Functions

static GType value_type ()

Protected Member Functions

void set_cstring (const char *data)
const char * get_cstring () const


Detailed Description

Glib::Value basing on YGP::AttributValues.

Member Typedef Documentation

typedef const gchar* Glib::ValueBase_Attribute::CType

Description of data-type.


Member Function Documentation

GParamSpec* Glib::ValueBase_Attribute::create_param_spec ( const ustring &  name  )  const [inline]

Creates the parameter specification for the passed data-type.

const char* Glib::ValueBase_Attribute::get_cstring (  )  const [inline, protected]

Returns the value as c-string.

Returns:
const char* Value as c-string
Remarks:
never returns 0

void Glib::ValueBase_Attribute::set ( const YGP::AttributValue &  data  )  [inline]

Sets from another AttributValue.

Parameters:
data Value to set

void Glib::ValueBase_Attribute::set_cstring ( const char *  data  )  [inline, protected]

Sets the value as c-string.

Parameters:
data c-string to set
Remarks:
never returns 0

static GType Glib::ValueBase_Attribute::value_type (  )  [inline, static]

Returns a string describing the data type.


The documentation for this class was generated from the following file:

XGP Version 0.9.31 - Generated on Wed Nov 18 11:25:29 2009 by doxygen 1.5.8