61 void Read(
const TiXmlElement *GlobalVariableRoot);
62 void Write(TiXmlElement *GlobalVariableRoot);
86 void Read(
const TiXmlElement *GlobalVariableSetRoot);
87 void Write(TiXmlElement *GlobalVariableSetRoot);
107 void Read(
const TiXmlElement *GlobalVariableConfigRoot);
108 void Write(TiXmlElement *GlobalVariableConfigRoot);
CString m_Obj
Value of the built-in "Obj" field of the variable.
Definition: cbglobalvar.h:39
CString Lib(void)
Value of the built-in "Lib" field of the variable.
Definition: cbglobalvar.cpp:145
CString & Cflags(void)
Value of the built-in "Cflags" field of the variable.
Definition: cbglobalvar.h:51
CString m_Include
Value of the built-in "Include" field of the variable.
Definition: cbglobalvar.h:37
CGlobalVariable(void)
Creates global compiler variable.
Definition: cbglobalvar.cpp:28
CString m_Lflags
Value of the built-in "Lflags" field of the variable.
Definition: cbglobalvar.h:41
std::vector< CGlobalVariable * > m_Variables
List of global compiler variables.
Definition: cbglobalvar.h:73
CString m_Cflags
Value of the built-in "Cflags" field of the variable.
Definition: cbglobalvar.h:40
void Write(TiXmlElement *GlobalVariableConfigRoot)
Writes the global compiler variable configuration to an XML document.
Definition: cbglobalvar.cpp:551
size_t Count(void) const
Returns the number of variable sets in configuration.
Definition: cbglobalvar.h:101
CGlobalVariableSet(void)
Creates global compiler variable set.
Definition: cbglobalvar.cpp:342
void Write(TiXmlElement *GlobalVariableSetRoot)
Writes the global variable set settings to an XML document.
Definition: cbglobalvar.cpp:423
void AddDefault(void)
Adds the 'default' set of variables.
Definition: cbglobalvar.cpp:498
Manages global compiler variables configuration.
Definition: cbglobalvar.h:94
void Show(void)
Prints the global compiler variable configuration contents to standard output.
Definition: cbglobalvar.cpp:562
std::vector< CGlobalVariableSet * > m_VariableSets
List of variable sets.
Definition: cbglobalvar.h:97
size_t Count(void) const
Returns number of variables.
Definition: cbglobalvar.h:81
CString GetField(const int Index)
Returns name of user-defined field.
Definition: cbglobalvar.cpp:43
CString & Lflags(void)
Value of the built-in "Lflags" field of the variable.
Definition: cbglobalvar.h:52
void Clear(void)
Resets the set of variables to the initial state.
Definition: cbglobalvar.cpp:352
void Remove(const CString &Name)
Removes variable with name Name.
Definition: cbglobalvar.cpp:392
void Write(TiXmlElement *GlobalVariableRoot)
Writes the global variable settings to an XML document.
Definition: cbglobalvar.cpp:291
void Show(void)
Prints the global compiler variable set contents to standard output.
Definition: cbglobalvar.cpp:436
CGlobalVariableSet * Get(const size_t Index)
Returns a set of variables by index.
Definition: cbglobalvar.cpp:467
CString & Obj(void)
Value of the built-in "Obj" field of the variable.
Definition: cbglobalvar.h:50
void Read(const TiXmlElement *GlobalVariableConfigRoot)
Reads the global compiler variable configuration from an XML document.
Definition: cbglobalvar.cpp:521
void Remove(const CString &Name)
Removes a set of variables.
Definition: cbglobalvar.cpp:511
CString & Description(void)
Description of the variable.
Definition: cbglobalvar.h:46
bool m_Active
Indicates that this variable set should be defined in makefile.
Definition: cbglobalvar.h:74
CString m_Name
Name of the variable set.
Definition: cbglobalvar.h:72
void Add(const CString &Name, const CString &Value)
Adds new user-defined field.
Definition: cbglobalvar.cpp:173
void Clear(void)
Resets the configuration to the initial state.
Definition: cbglobalvar.cpp:460
Definition: stlstrings.h:32
bool & Active(void)
Indicates that this variable set should be defined in makefile.
Definition: cbglobalvar.h:78
CString m_Base
Value of the built-in default field of the variable.
Definition: cbglobalvar.h:36
CString m_Description
Description of the variable.
Definition: cbglobalvar.h:34
static CString Convert(const CString &Value, const int Case=0)
Definition: cbglobalvar.cpp:53
Contains properties of global compiler variables.
Definition: cbglobalvar.h:30
CString & Name(void)
Name of the set.
Definition: cbglobalvar.h:77
int Count(void)
Returns number of user-defined fields.
Definition: cbglobalvar.cpp:38
CGlobalVariableSet * Find(const CString &Name)
Returns a set of variables by name.
Definition: cbglobalvar.cpp:476
CGlobalVariable * Find(const CString &Name)
Returns a variable by name.
Definition: cbglobalvar.cpp:369
Manages a set of global compiler variables.
Definition: cbglobalvar.h:69
~CGlobalVariableConfig(void)
Destroys global compiler variable configuration.
Definition: cbglobalvar.cpp:455
CGlobalVariable * Add(const CString &Name, const CString &Description="")
Adds new variable with name Name and description Description.
Definition: cbglobalvar.cpp:379
void Clear(void)
Resets the global compiler variable to the initial state.
Definition: cbglobalvar.cpp:161
CGlobalVariable * Get(const size_t Index)
Returns a variable by index.
Definition: cbglobalvar.cpp:360
CGlobalVariableSet * Add(const CString &Name)
Adds new set of global compiler variables.
Definition: cbglobalvar.cpp:486
void Remove(const CString &Name)
Removes user-defined field.
Definition: cbglobalvar.cpp:201
CString GetValue(const int Index)
Returns value of user-defined field.
Definition: cbglobalvar.cpp:48
CString Base(void)
Value of the built-in default field of the variable.
Definition: cbglobalvar.cpp:120
CString & Name(void)
Name of the variable.
Definition: cbglobalvar.h:45
~CGlobalVariable(void)
Destroys global compiler variable.
Definition: cbglobalvar.cpp:33
CString m_Lib
Value of the built-in "Lib" field of the variable.
Definition: cbglobalvar.h:38
Definition: stlconfig.h:26
void Show(void)
Prints the global compiler variable contents to standard output.
Definition: cbglobalvar.cpp:317
CGlobalVariableConfig(void)
Creates global compiler variable configuration.
Definition: cbglobalvar.cpp:450
~CGlobalVariableSet(void)
Destroys global compiler variable set.
Definition: cbglobalvar.cpp:347
CConfiguration m_Fields
User-defined fields of the global compiler variable.
Definition: cbglobalvar.h:43
void Read(const TiXmlElement *GlobalVariableSetRoot)
Reads the global variable set settings from an XML document.
Definition: cbglobalvar.cpp:402
void Read(const TiXmlElement *GlobalVariableRoot)
Reads the global variable settings from an XML document.
Definition: cbglobalvar.cpp:206
CString Include(void)
Value of the built-in "Include" field of the variable.
Definition: cbglobalvar.cpp:129
CString m_Name
Name of the variable.
Definition: cbglobalvar.h:33