![]() |
![]() |
![]() |
Libmatecomponent Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
gchar * matecomponent_config_get_string (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gchar * matecomponent_config_get_string_with_default (MateComponent_ConfigDatabase db
,const char *key
,gchar *defval
,gboolean *def
); gint16 matecomponent_config_get_short (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gint16 matecomponent_config_get_short_with_default (MateComponent_ConfigDatabase db
,const char *key
,gint16 defval
,gboolean *def
); guint16 matecomponent_config_get_ushort (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); guint16 matecomponent_config_get_ushort_with_default (MateComponent_ConfigDatabase db
,const char *key
,guint16 defval
,gboolean *def
); gint32 matecomponent_config_get_long (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gint32 matecomponent_config_get_long_with_default (MateComponent_ConfigDatabase db
,const char *key
,gint32 defval
,gboolean *def
); guint32 matecomponent_config_get_ulong (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); guint32 matecomponent_config_get_ulong_with_default (MateComponent_ConfigDatabase db
,const char *key
,guint32 defval
,gboolean *def
); gfloat matecomponent_config_get_float (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gfloat matecomponent_config_get_float_with_default (MateComponent_ConfigDatabase db
,const char *key
,gfloat defval
,gboolean *def
); gdouble matecomponent_config_get_double (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gdouble matecomponent_config_get_double_with_default (MateComponent_ConfigDatabase db
,const char *key
,gdouble defval
,gboolean *def
); gboolean matecomponent_config_get_boolean (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gboolean matecomponent_config_get_boolean_with_default (MateComponent_ConfigDatabase db
,const char *key
,gboolean defval
,gboolean *def
); gchar matecomponent_config_get_char (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
); gchar matecomponent_config_get_char_with_default (MateComponent_ConfigDatabase db
,const char *key
,gchar defval
,gboolean *def
); CORBA_any * matecomponent_config_get_value (MateComponent_ConfigDatabase db
,const char *key
,CORBA_TypeCode opt_tc
,CORBA_Environment *opt_ev
); void matecomponent_config_set_string (MateComponent_ConfigDatabase db
,const char *key
,const char *value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_short (MateComponent_ConfigDatabase db
,const char *key
,gint16 value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_ushort (MateComponent_ConfigDatabase db
,const char *key
,guint16 value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_long (MateComponent_ConfigDatabase db
,const char *key
,gint32 value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_ulong (MateComponent_ConfigDatabase db
,const char *key
,guint32 value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_float (MateComponent_ConfigDatabase db
,const char *key
,gfloat value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_double (MateComponent_ConfigDatabase db
,const char *key
,gdouble value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_boolean (MateComponent_ConfigDatabase db
,const char *key
,gboolean value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_char (MateComponent_ConfigDatabase db
,const char *key
,gchar value
,CORBA_Environment *opt_ev
); void matecomponent_config_set_value (MateComponent_ConfigDatabase db
,const char *key
,CORBA_any *value
,CORBA_Environment *opt_ev
);
gchar * matecomponent_config_get_string (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a string from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database, or zero on error. |
gchar * matecomponent_config_get_string_with_default (MateComponent_ConfigDatabase db
,const char *key
,gchar *defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gint16 matecomponent_config_get_short (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a 16 bit integer from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gint16 matecomponent_config_get_short_with_default (MateComponent_ConfigDatabase db
,const char *key
,gint16 defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
guint16 matecomponent_config_get_ushort (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a 16 bit unsigned integer from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
guint16 matecomponent_config_get_ushort_with_default (MateComponent_ConfigDatabase db
,const char *key
,guint16 defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gint32 matecomponent_config_get_long (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a 32 bit integer from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gint32 matecomponent_config_get_long_with_default (MateComponent_ConfigDatabase db
,const char *key
,gint32 defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
guint32 matecomponent_config_get_ulong (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a 32 bit unsigned integer from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
guint32 matecomponent_config_get_ulong_with_default (MateComponent_ConfigDatabase db
,const char *key
,guint32 defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gfloat matecomponent_config_get_float (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a single precision floating point value from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gfloat matecomponent_config_get_float_with_default (MateComponent_ConfigDatabase db
,const char *key
,gfloat defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gdouble matecomponent_config_get_double (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a double precision floating point value from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gdouble matecomponent_config_get_double_with_default (MateComponent_ConfigDatabase db
,const char *key
,gdouble defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gboolean matecomponent_config_get_boolean (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a boolean value from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gboolean matecomponent_config_get_boolean_with_default (MateComponent_ConfigDatabase db
,const char *key
,gboolean defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
gchar matecomponent_config_get_char (MateComponent_ConfigDatabase db
,const char *key
,CORBA_Environment *opt_ev
);
Get a 8 bit character value from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database. |
gchar matecomponent_config_get_char_with_default (MateComponent_ConfigDatabase db
,const char *key
,gchar defval
,gboolean *def
);
|
|
|
|
|
|
|
|
Returns : |
CORBA_any * matecomponent_config_get_value (MateComponent_ConfigDatabase db
,const char *key
,CORBA_TypeCode opt_tc
,CORBA_Environment *opt_ev
);
Get a value from the configuration database
|
a reference to the database object |
|
key of the value to get |
|
the type of the value, optional |
|
an optional CORBA_Environment to return failure codes |
Returns : |
the value contained in the database, or zero on error. |
void matecomponent_config_set_string (MateComponent_ConfigDatabase db
,const char *key
,const char *value
,CORBA_Environment *opt_ev
);
Set a string value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_short (MateComponent_ConfigDatabase db
,const char *key
,gint16 value
,CORBA_Environment *opt_ev
);
Set a 16 bit integer value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_ushort (MateComponent_ConfigDatabase db
,const char *key
,guint16 value
,CORBA_Environment *opt_ev
);
Set a 16 bit unsigned integer value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_long (MateComponent_ConfigDatabase db
,const char *key
,gint32 value
,CORBA_Environment *opt_ev
);
Set a 32 bit integer value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_ulong (MateComponent_ConfigDatabase db
,const char *key
,guint32 value
,CORBA_Environment *opt_ev
);
Set a 32 bit unsigned integer value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_float (MateComponent_ConfigDatabase db
,const char *key
,gfloat value
,CORBA_Environment *opt_ev
);
Set a single precision floating point value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_double (MateComponent_ConfigDatabase db
,const char *key
,gdouble value
,CORBA_Environment *opt_ev
);
Set a double precision floating point value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_boolean (MateComponent_ConfigDatabase db
,const char *key
,gboolean value
,CORBA_Environment *opt_ev
);
Set a boolean value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_char (MateComponent_ConfigDatabase db
,const char *key
,gchar value
,CORBA_Environment *opt_ev
);
Set a 8 bit characte value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |
void matecomponent_config_set_value (MateComponent_ConfigDatabase db
,const char *key
,CORBA_any *value
,CORBA_Environment *opt_ev
);
Set a value in the configuration database.
|
a reference to the database object |
|
key of the value to set |
|
the new value |
|
an optional CORBA_Environment to return failure codes |