nux-0.9.48
|
#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< Record > | GetRecord (std::string KeyName, std::string SectionName, std::string FileName) |
static std::vector< Record > | GetSection (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) |
nux::CIniFile::CIniFile | ( | void | ) |
virtual nux::CIniFile::~CIniFile | ( | void | ) | [virtual] |
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] |