50 void SetValue(
string const& strValue);
55 bool HasChild(
string const& strKey)
const;
81 string strTrim(
string const& strLine)
const;
83 bool bIsEmpty(
string const& strLine)
const;
84 bool bParseLine(
string const& strLine,
string& strKey,
string& strValue,
bool& bIsSequence)
const;
Simple YAML node class to represent parsed values.
map< string, CYamlNode > m_mapChildren
int GetSequenceSize() const
vector< string > GetStringSequence() const
vector< CYamlNode > m_vecChildren
vector< CYamlNode > GetSequence() const
bool HasChild(string const &strKey) const
void AddChild(string const &strKey, CYamlNode const &node)
bool GetBoolValue(bool bDefault=false) const
void AddSequenceItem(CYamlNode const &node)
double GetDoubleValue(double dDefault=0.0) const
CYamlNode GetChild(string const &strKey) const
int GetIntValue(int nDefault=0) const
void SetValue(string const &strValue)
string strRemoveQuotes(string const &strValue) const
string strTrim(string const &strLine) const
string strTrimRight(string const &strLine) const
bool bParseLine(string const &strLine, string &strKey, string &strValue, bool &bIsSequence) const
bool bIsComment(string const &strLine) const
string strTrimLeft(string const &strLine) const
CYamlNode ParseSection(ifstream &fileStream, int nBaseIndent)
bool bParseFile(string const &strFileName)
int nGetIndentLevel(string const &strLine) const
CYamlNode GetRoot() const
bool bIsEmpty(string const &strLine) const