|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CConfigFile::CVar Struct ReferenceCVar class.
More...
#include <config_file.h>
List of all members.
Detailed Description
CVar class.
Used by CConfigFile. A CVar is return when you want to have a variable.
Example: see the CConfigFile example
-
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2000
Definition at line 132 of file config_file.h.
Member Enumeration Documentation
enum NLMISC::CConfigFile::CVar::TVarType
|
|
|
-
Enumeration values:
-
T_UNKNOWN |
|
T_INT |
|
T_STRING |
|
T_REAL |
|
Definition at line 186 of file config_file.h. |
Constructor & Destructor Documentation
NLMISC::CConfigFile::CVar::CVar |
( |
|
) |
[inline] |
|
Member Function Documentation
void NLMISC::CConfigFile::CVar::add |
( |
const CVar & |
var |
) |
|
|
double NLMISC::CConfigFile::CVar::asDouble |
( |
int |
index = 0 |
) |
const |
|
float NLMISC::CConfigFile::CVar::asFloat |
( |
int |
index = 0 |
) |
const |
|
int NLMISC::CConfigFile::CVar::asInt |
( |
int |
index = 0 |
) |
const |
|
const std::string & NLMISC::CConfigFile::CVar::asString |
( |
int |
index = 0 |
) |
const |
|
bool NLMISC::CConfigFile::CVar::operator!= |
( |
const CVar & |
var |
) |
const |
|
bool NLMISC::CConfigFile::CVar::operator== |
( |
const CVar & |
var |
) |
const |
|
void NLMISC::CConfigFile::CVar::setAsDouble |
( |
std::vector< double > |
vals |
) |
|
|
void NLMISC::CConfigFile::CVar::setAsDouble |
( |
double |
val, |
|
|
int |
index = 0 |
|
) |
|
|
void NLMISC::CConfigFile::CVar::setAsFloat |
( |
std::vector< float > |
vals |
) |
|
|
void NLMISC::CConfigFile::CVar::setAsFloat |
( |
float |
val, |
|
|
int |
index = 0 |
|
) |
|
|
void NLMISC::CConfigFile::CVar::setAsInt |
( |
std::vector< int > |
vals |
) |
|
|
void NLMISC::CConfigFile::CVar::setAsInt |
( |
int |
val, |
|
|
int |
index = 0 |
|
) |
|
|
void NLMISC::CConfigFile::CVar::setAsString |
( |
std::vector< std::string > |
vals |
) |
|
|
void NLMISC::CConfigFile::CVar::setAsString |
( |
std::string |
val, |
|
|
int |
index = 0 |
|
) |
|
|
int NLMISC::CConfigFile::CVar::size |
( |
|
) |
const |
|
Member Data Documentation
void(* NLMISC::CConfigFile::CVar::Callback)(CVar &var)
|
|
bool NLMISC::CConfigFile::CVar::Comp
|
|
std::vector<int> NLMISC::CConfigFile::CVar::IntValues
|
|
std::string NLMISC::CConfigFile::CVar::Name
|
|
std::vector<double> NLMISC::CConfigFile::CVar::RealValues
|
|
std::vector<std::string> NLMISC::CConfigFile::CVar::StrValues
|
|
TVarType NLMISC::CConfigFile::CVar::Type
|
|
char * NLMISC::CConfigFile::CVar::TypeName = { "Integer", "String", "Float" } [static]
|
|
The documentation for this struct was generated from the following files:
|
|