libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moConfig.h File Reference
#include "moTypes.h"
#include "moText.h"
#include "moParam.h"
#include "moArray.h"
#include "moPreConfig.h"

Go to the source code of this file.

Classes

class  moConfigDefinition
 definición de todos los parámetros a encontrar o a crear dentro del moConfig More...
 
class  moConfig
 almacena la configuración de los parámetros de un objeto en un archivo XML More...
 

Macros

#define MO_PARAM_NOT_SEL   -1
 
#define MO_PARAM_NOT_FOUND   -1
 
#define MO_CONFIGFILE_NOT_FOUND   -1
 
#define MO_CONFIG_OK   0
 
#define MO_SELECTED   -1
 
#define moDefineParamIndex(X, Y)
 

Macro Definition Documentation

#define MO_CONFIG_OK   0

Definition at line 43 of file moConfig.h.

#define MO_CONFIGFILE_NOT_FOUND   -1

Definition at line 42 of file moConfig.h.

#define MO_PARAM_NOT_FOUND   -1

Definition at line 41 of file moConfig.h.

#define MO_PARAM_NOT_SEL   -1

Definition at line 40 of file moConfig.h.

#define MO_SELECTED   -1

Definition at line 44 of file moConfig.h.

#define moDefineParamIndex (   X,
 
)
Value:
if ( m_Config.GetConfigDefinition()!=NULL) {\
int pidx = (MOint)m_Config.GetParamIndex(Y);\
if (pidx>-1) {\
if (!m_Config.GetConfigDefinition()->SetParamIndex( (int)X, moParamIndex(pidx))) {\
MODebug2->Warning( "<"+m_Config.GetObjectClass()+">["+m_Config.GetObjectName()+"]::Init()_moDefineParamIndex > Config parameter \"" + moText(Y) + moText("\" warning. Bad indexation could cause errors."));\
}\
} else MODebug2->Error( m_Config.GetObjectClass()+": "+m_Config.GetObjectName()+ " parameter \"" + moText(Y) + moText("\" not found."));\
}
moText0 moText
Definition: moText.h:291
#define MOint
Definition: moTypes.h:388
The Y component of space.
Definition: moOGLFT.h:78
The X component of space.
Definition: moOGLFT.h:77

moDefineParamIndex > Asocia el #DEFINE a su parametro correspondiente en el indice.

Definition at line 176 of file moConfig.h.