My Project
ParaScriptingIC.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2004 - 2006 ParaEngine Dev Studio, All Rights Reserved.
3 // Date: 2006.3
4 // Description: API for configuration
5 //-----------------------------------------------------------------------------
6 #pragma once
7 
8 #include <string>
9 namespace ParaScripting
10 {
11  using namespace std;
15  class PE_CORE_DECL ParaConfig
16  {
17  public:
18  static bool SetIntValue(const char* szName,int value);
19  static bool SetDoubleValue(const char* szName,double value);
20  static bool SetTextValue(const char* szName,const char* value);
21  static bool GetIntValue(const char* szName,int *value) ;
22  static bool GetDoubleValue(const char* szName,double *value);
23  static string GetTextValue(const char* szName);
24  static bool SetIntValueEx(const char* szName,int value,int index);
25  static bool SetDoubleValueEx(const char* szName,double value,int index);
26  static bool SetTextValueEx(const char* szName,const char* value,int index);
27  static bool GetIntValueEx(const char* szName,int *value,int index) ;
28  static bool GetDoubleValueEx(const char* szName,double *value,int index);
29  static string GetTextValueEx(const char* szName,int index);
30  static bool AppendIntValue(const char* szName,int value);
31  static bool AppendDoubleValue(const char* szName,double value);
32  static bool AppendTextValue(const char* szName,const char* value);
33  };
34 }
Definition: ParaScriptingIC.h:15
Definition: enum_maker.hpp:46
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971