OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Encapsulates the Windows INI file interface Get/SetPrivateProfileXXX functions. More...
#include <owl/configfl.h>
Additional Inherited Members | |
Static Public Member Functions inherited from owl::TConfigFile | |
static void | SetPrecision (int newprec=-1) |
static int | GetPrecision () |
Static Protected Member Functions inherited from owl::TConfigFile | |
static bool | StringToBool (LPCTSTR str, bool *val) |
This static method converts a string to a bool, accepting most common boolean keywords: yes, on, true and 1. | |
static tstring | BoolToString (bool val) |
This static method returns yes or no given a boolean value. | |
Protected Attributes inherited from owl::TConfigFile | |
tstring | FileName |
Static Protected Attributes inherited from owl::TConfigFile | |
static int | DefaultPrecision = -1 |
Encapsulates the Windows INI file interface Get/SetPrivateProfileXXX functions.
Definition at line 249 of file configfl.h.
|
inline |
Definition at line 252 of file configfl.h.
|
inlinevirtual |
Definition at line 255 of file configfl.h.
Definition at line 86 of file configfl.h.
This method deletes the specified entry.
Implements owl::TConfigFile.
Definition at line 940 of file configfl.cpp.
References owl::TConfigFile::FileName, and PRECONDITION.
Implements owl::TConfigFile.
Definition at line 85 of file configfl.h.
This method deletes the specified section.
Implements owl::TConfigFile.
Definition at line 930 of file configfl.cpp.
References owl::TConfigFile::FileName, and PRECONDITION.
Implements owl::TConfigFile.
|
inline |
Definition at line 93 of file configfl.h.
|
virtual |
This method reads binary data.
Reimplemented from owl::TConfigFile.
Definition at line 977 of file configfl.cpp.
References owl::TConfigFile::FileName, and PRECONDITION.
|
virtual |
This method reads binary data.
Reimplemented from owl::TConfigFile.
Definition at line 76 of file configfl.cpp.
Definition at line 83 of file configfl.cpp.
|
virtual |
Implements owl::TConfigFile.
Definition at line 916 of file configfl.cpp.
References _T, owl::TConfigFile::FileName, and PRECONDITION.
|
virtual |
Implements owl::TConfigFile.
Implements owl::TConfigFile.
Definition at line 922 of file configfl.cpp.
References _T, owl::TConfigFile::FileName, and PRECONDITION.
Implements owl::TConfigFile.
Definition at line 84 of file configfl.cpp.
|
inline |
Definition at line 89 of file configfl.h.
uint owl::TConfigFile::ReadString | ( | const tstring & | section, |
const tstring & | entry, | ||
tstring & | buffer, | ||
LPCTSTR | defstr = 0 ) const |
String-aware overload.
Definition at line 88 of file configfl.cpp.
|
virtual |
This method is the base method for reading strings.
Implements owl::TConfigFile.
Definition at line 960 of file configfl.cpp.
References _T, owl::TConfigFile::FileName, and PRECONDITION.
|
virtual |
Implements owl::TConfigFile.
|
virtual |
Implements owl::TConfigFile.
Definition at line 948 of file configfl.cpp.
References owl::TConfigFile::FileName.
|
inline |
Definition at line 94 of file configfl.h.
|
virtual |
This method writes binary data.
Reimplemented from owl::TConfigFile.
Definition at line 985 of file configfl.cpp.
References owl::TConfigFile::FileName, and PRECONDITION.
|
virtual |
This method writes binary data.
Reimplemented from owl::TConfigFile.
Definition at line 77 of file configfl.cpp.
|
inline |
Definition at line 91 of file configfl.h.
This method is the low-level method for writing strings.
Implements owl::TConfigFile.
Definition at line 969 of file configfl.cpp.
References owl::TConfigFile::FileName, and PRECONDITION.
|
virtual |
Implements owl::TConfigFile.