9 #include <boost/thread/mutex.hpp> 10 #include "util/mutex.h" 16 IC_CONFIG_INT,IC_CONFIG_FLOAT,IC_CONFIG_TEXT
31 int GetType(){
return etype;}
32 void SetValue(
const char* value);
44 std::vector<CICConfigItem*> items;
80 PE_CORE_DECL HRESULT LoadFromFile(
const char* szFilename=NULL,
bool bOverwrite=
true);
92 PE_CORE_DECL HRESULT SaveToFile(
const char* szFilename=NULL,
bool bOverwrite=
true);
104 PE_CORE_DECL HRESULT GetSize(
const char* szName, DWORD *nSize);
115 PE_CORE_DECL HRESULT GetIntValue(
const char* szName,
int *
value,
int index=0);
127 PE_CORE_DECL HRESULT GetDoubleValue(
const char* szName,
double *value,
int index=0);
138 PE_CORE_DECL HRESULT GetTextValue(
const char* szName,
string &value,
int index=0);
153 PE_CORE_DECL HRESULT SetIntValue(
const char* szName,
int value,
int index=0);
165 PE_CORE_DECL HRESULT AppendIntValue(
const char* szName,
int value);
177 PE_CORE_DECL HRESULT SetDoubleValue(
const char* szName,
double value,
int index=0);
188 PE_CORE_DECL HRESULT AppendDoubleValue(
const char* szName,
double value);
199 PE_CORE_DECL HRESULT SetTextValue(
const char* szName,
const char *value,
int index=0);
210 PE_CORE_DECL HRESULT AppendTextValue(
const char* szName,
const char* value);
217 PE_CORE_DECL
void Lock();
222 PE_CORE_DECL
void UnLock();
227 map<string, CICConfigItems*> m_items;
Definition: ICConfigManager.h:40
different physics engine has different winding order.
Definition: EventBinding.h:32
The CICConfigManager manages the global configurations of the program.
Definition: ICConfigManager.h:62
Definition: enum_maker.hpp:46
Definition: PEtypes.h:503
This class is not thread-safe.
Definition: ICConfigManager.h:22
cross platform mutex
Definition: mutex.h:95