nux-0.9.48

nux::CIniFile Class Reference

#include <NuxGraphics/IniFile.h>

Data Structures

struct  Record

Public Types

enum  CommentChar { Pound = '#', SemiColon = ';' }

Public Member Functions

 CIniFile (void)
virtual ~CIniFile (void)

Static Public Member Functions

static bool AddSection (std::string SectionName, std::string FileName)
static bool CommentRecord (CommentChar cc, std::string KeyName, std::string SectionName, std::string FileName)
static bool CommentSection (char CommentChar, std::string SectionName, std::string FileName)
static std::string Content (std::string FileName)
static bool Create (std::string FileName)
static bool DeleteRecord (std::string KeyName, std::string SectionName, std::string FileName)
static bool DeleteSection (std::string SectionName, std::string FileName)
static std::vector< RecordGetRecord (std::string KeyName, std::string SectionName, std::string FileName)
static std::vector< RecordGetSection (std::string SectionName, std::string FileName)
static std::vector< std::string > GetSectionNames (std::string FileName)
static std::string GetValue (std::string KeyName, std::string SectionName, std::string FileName)
static bool RecordExists (std::string KeyName, std::string SectionName, std::string FileName)
static bool RenameSection (std::string OldSectionName, std::string NewSectionName, std::string FileName)
static bool SectionExists (std::string SectionName, std::string FileName)
static bool SetRecordComments (std::string Comments, std::string KeyName, std::string SectionName, std::string FileName)
static bool SetSectionComments (std::string Comments, std::string SectionName, std::string FileName)
static bool SetValue (std::string KeyName, std::string Value, std::string SectionName, std::string FileName)
static bool Sort (std::string FileName, bool Descending)
static bool UnCommentRecord (std::string KeyName, std::string SectionName, std::string FileName)
static bool UnCommentSection (std::string SectionName, std::string FileName)

Member Enumeration Documentation

Enumerator:
Pound 
SemiColon 

Constructor & Destructor Documentation

nux::CIniFile::CIniFile ( void  )
virtual nux::CIniFile::~CIniFile ( void  ) [virtual]

Member Function Documentation

static bool nux::CIniFile::AddSection ( std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::CommentRecord ( CommentChar  cc,
std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::CommentSection ( char  CommentChar,
std::string  SectionName,
std::string  FileName 
) [static]
static std::string nux::CIniFile::Content ( std::string  FileName) [static]
static bool nux::CIniFile::Create ( std::string  FileName) [static]
static bool nux::CIniFile::DeleteRecord ( std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::DeleteSection ( std::string  SectionName,
std::string  FileName 
) [static]
static std::vector<Record> nux::CIniFile::GetRecord ( std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static std::vector<Record> nux::CIniFile::GetSection ( std::string  SectionName,
std::string  FileName 
) [static]
static std::vector<std::string> nux::CIniFile::GetSectionNames ( std::string  FileName) [static]
static std::string nux::CIniFile::GetValue ( std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::RecordExists ( std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::RenameSection ( std::string  OldSectionName,
std::string  NewSectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::SectionExists ( std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::SetRecordComments ( std::string  Comments,
std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::SetSectionComments ( std::string  Comments,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::SetValue ( std::string  KeyName,
std::string  Value,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::Sort ( std::string  FileName,
bool  Descending 
) [static]
static bool nux::CIniFile::UnCommentRecord ( std::string  KeyName,
std::string  SectionName,
std::string  FileName 
) [static]
static bool nux::CIniFile::UnCommentSection ( std::string  SectionName,
std::string  FileName 
) [static]

The documentation for this class was generated from the following file: