The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
_ConfigContext Struct Reference

#include <configcontext.h>

Collaboration diagram for _ConfigContext:

Data Fields

AssimObj baseclass
 
GHashTable * _values
 table of Values More...
 
gint64(* getint )(const ConfigContext *, const char *name)
 Get integer value. More...
 
void(* setint )(ConfigContext *, const char *name, gint value)
 Set integer value. More...
 
gboolean(* appendint )(ConfigContext *, const char *name, gint value)
 Set integer value. More...
 
gboolean(* getbool )(const ConfigContext *, const char *name)
 Get boolean value. More...
 
void(* setbool )(ConfigContext *, const char *name, gboolean)
 Set bool value. More...
 
gboolean(* appendbool )(ConfigContext *, const char *name, gboolean)
 Set bool value. More...
 
double(* getdouble )(const ConfigContext *, const char *name)
 Get double value. More...
 
void(* setdouble )(ConfigContext *, const char *name, double value)
 
gboolean(* appenddouble )(ConfigContext *, const char *name, double value)
 Set double value. More...
 
GSList *(* getarray )(const ConfigContext *, const char *name)
 Get array value. More...
 
void(* setarray )(ConfigContext *, const char *name, GSList *)
 Set array value. More...
 
const char *(* getstring )(const ConfigContext *, const char *name)
 Get String value. More...
 
void(* setstring )(ConfigContext *, const char *name, const char *value)
 
gboolean(* appendstring )(ConfigContext *, const char *name, const char *value)
 Set String value. More...
 
Frame *(* getframe )(const ConfigContext *, const char *)
 Get Frame value. More...
 
void(* setframe )(ConfigContext *, const char *, Frame *)
 Set Frame value. More...
 
NetAddr *(* getaddr )(const ConfigContext *, const char *name)
 Get NetAddr value. More...
 
void(* setaddr )(ConfigContext *, const char *, NetAddr *)
 Set NetAddr value. More...
 
gboolean(* appendaddr )(ConfigContext *, const char *, NetAddr *)
 Set NetAddr value. More...
 
ConfigContext *(* getconfig )(const ConfigContext *, const char *name)
 Get ConfigContext value. More...
 
void(* setconfig )(ConfigContext *, const char *, ConfigContext *)
 Set ConfigContext value. More...
 
gboolean(* appendconfig )(ConfigContext *, const char *, ConfigContext *)
 Set ConfigContext value. More...
 
enum ConfigValType(* gettype )(const ConfigContext *, const char *)
 Return type. More...
 
ConfigValue *(* getvalue )(const ConfigContext *, const char *)
 Return ConfigValue Object. More...
 
void(* delkey )(const ConfigContext *, const char *)
 Delete the object with the given key. More...
 
guint(* keycount )(const ConfigContext *)
 Return number of keys in object. More...
 
GSList *(* keys )(const ConfigContext *)
 Return list of keys. More...
 

Detailed Description

Definition at line 71 of file configcontext.h.

Field Documentation

GHashTable* _ConfigContext::_values
gboolean(* _ConfigContext::appendaddr)(ConfigContext *, const char *, NetAddr *)

Set NetAddr value.

Definition at line 94 of file configcontext.h.

Referenced by configcontext_new().

gboolean(* _ConfigContext::appendbool)(ConfigContext *, const char *name, gboolean)

Set bool value.

Definition at line 79 of file configcontext.h.

Referenced by configcontext_new().

gboolean(* _ConfigContext::appendconfig)(ConfigContext *, const char *, ConfigContext *)

Set ConfigContext value.

Definition at line 97 of file configcontext.h.

Referenced by configcontext_new().

gboolean(* _ConfigContext::appenddouble)(ConfigContext *, const char *name, double value)

Set double value.

Definition at line 82 of file configcontext.h.

gboolean(* _ConfigContext::appendint)(ConfigContext *, const char *name, gint value)

Set integer value.

Definition at line 76 of file configcontext.h.

Referenced by configcontext_new().

gboolean(* _ConfigContext::appendstring)(ConfigContext *, const char *name, const char *value)

Set String value.

Definition at line 88 of file configcontext.h.

Referenced by configcontext_new().

void(* _ConfigContext::delkey)(const ConfigContext *, const char *)

Delete the object with the given key.

Definition at line 101 of file configcontext.h.

Referenced by configcontext_new().

GSList*(* _ConfigContext::getarray)(const ConfigContext *, const char *name)
gboolean(* _ConfigContext::getbool)(const ConfigContext *, const char *name)
ConfigContext*(* _ConfigContext::getconfig)(const ConfigContext *, const char *name)
double(* _ConfigContext::getdouble)(const ConfigContext *, const char *name)

Get double value.

Definition at line 80 of file configcontext.h.

Referenced by nanoobey_setconfig().

Frame*(* _ConfigContext::getframe)(const ConfigContext *, const char *)
enum ConfigValType(* _ConfigContext::gettype)(const ConfigContext *, const char *)
ConfigValue*(* _ConfigContext::getvalue)(const ConfigContext *, const char *)

Return ConfigValue Object.

Definition at line 100 of file configcontext.h.

Referenced by configcontext_new().

guint(* _ConfigContext::keycount)(const ConfigContext *)

Return number of keys in object.

Definition at line 102 of file configcontext.h.

Referenced by assim_merge_environ(), and configcontext_new().

GSList*(* _ConfigContext::keys)(const ConfigContext *)
void(* _ConfigContext::setaddr)(ConfigContext *, const char *, NetAddr *)
void(* _ConfigContext::setarray)(ConfigContext *, const char *name, GSList *)

Set array value.

Definition at line 85 of file configcontext.h.

Referenced by cma.AssimCclasses.pyConfigContext::__setitem__(), and configcontext_new().

void(* _ConfigContext::setbool)(ConfigContext *, const char *name, gboolean)

Set bool value.

Definition at line 78 of file configcontext.h.

Referenced by _nano_send_rscexitstatus(), configcontext_new(), and nanoobey_setconfig().

void(* _ConfigContext::setconfig)(ConfigContext *, const char *, ConfigContext *)

Set ConfigContext value.

Definition at line 96 of file configcontext.h.

Referenced by cma.AssimCclasses.pyConfigContext::__setitem__(), configcontext_new(), and nanoobey_setconfig().

void(* _ConfigContext::setdouble)(ConfigContext *, const char *name, double value)

Definition at line 81 of file configcontext.h.

Referenced by nanoobey_setconfig().

void(* _ConfigContext::setframe)(ConfigContext *, const char *, Frame *)

Set Frame value.

Definition at line 91 of file configcontext.h.

Referenced by cma.AssimCclasses.pyConfigContext::__setitem__(), configcontext_new(), and main().

void(* _ConfigContext::setstring)(ConfigContext *, const char *name, const char *value)

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