#include <py_config.h>
Public Member Functions | |
ConfigModule (PyObject *parent, char *name) | |
ConfigModule & | add (char *name, PyObject *obj) |
ConfigModule & | add (char *name, const char *str) |
ConfigModule & | add (char *name, int value, API::EnumModule *_enum=0) |
int | getInteger (char *name) |
char * | getString (char *name) |
int | setInteger (char *name, int value) |
int | setString (char *name, const char *str) |
PyObject * | dict () |
char * | name () |
operator PyObject * () | |
API::EnumModule * | getEnum (std::string name) |
|
creates a ConfigModule as child or parent with given name |
|
adds an integer option which is a field of _enum |
|
adds a string option and return itself |
|
adds a python object and return itself |
|
returns dictionary of wrapped python module |
|
returns enum module of given option |
|
retrieves integer from config module |
|
retrieves string from config module |
|
returns name of config module |
|
casts config module to python object |
|
sets integer in config module |
|
sets string in config module |