matecomponent-config-database

matecomponent-config-database

Synopsis

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);

Description

Details

matecomponent_config_get_string ()

gchar *             matecomponent_config_get_string            (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         CORBA_Environment *opt_ev);

Get a string from the configuration database

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database, or zero on error.

matecomponent_config_get_string_with_default ()

gchar *             matecomponent_config_get_string_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gchar *defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_short ()

gint16              matecomponent_config_get_short             (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         CORBA_Environment *opt_ev);

Get a 16 bit integer from the configuration database

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_short_with_default ()

gint16              matecomponent_config_get_short_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gint16 defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_ushort ()

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

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_ushort_with_default ()

guint16             matecomponent_config_get_ushort_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         guint16 defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_long ()

gint32              matecomponent_config_get_long              (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         CORBA_Environment *opt_ev);

Get a 32 bit integer from the configuration database

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_long_with_default ()

gint32              matecomponent_config_get_long_with_default (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gint32 defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_ulong ()

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

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_ulong_with_default ()

guint32             matecomponent_config_get_ulong_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         guint32 defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_float ()

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

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_float_with_default ()

gfloat              matecomponent_config_get_float_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gfloat defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_double ()

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

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_double_with_default ()

gdouble             matecomponent_config_get_double_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gdouble defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_boolean ()

gboolean            matecomponent_config_get_boolean           (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         CORBA_Environment *opt_ev);

Get a boolean value from the configuration database

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_boolean_with_default ()

gboolean            matecomponent_config_get_boolean_with_default
                                                        (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gboolean defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_char ()

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

db :

a reference to the database object

key :

key of the value to get

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database.

matecomponent_config_get_char_with_default ()

gchar               matecomponent_config_get_char_with_default (MateComponent_ConfigDatabase db,
                                                         const char *key,
                                                         gchar defval,
                                                         gboolean *def);

db :

key :

defval :

def :

Returns :


matecomponent_config_get_value ()

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

db :

a reference to the database object

key :

key of the value to get

opt_tc :

the type of the value, optional

opt_ev :

an optional CORBA_Environment to return failure codes

Returns :

the value contained in the database, or zero on error.

matecomponent_config_set_string ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_short ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_ushort ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_long ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_ulong ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_float ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_double ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_boolean ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_char ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes

matecomponent_config_set_value ()

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.

db :

a reference to the database object

key :

key of the value to set

value :

the new value

opt_ev :

an optional CORBA_Environment to return failure codes