OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TConfigFile Class Referenceabstract

Save/Load configuration parameters Base abstract class. More...

#include <owl/configfl.h>

Inheritance diagram for owl::TConfigFile:
owl::TIniConfigFile owl::TMemConfigFile owl::TRegConfigFile

Public Member Functions

 TConfigFile (const tstring &name)
 Constructs instance and sets FileName to name.
 
virtual ~TConfigFile ()
 Destroys the instance.
 
const tstringGetFileName () const
 
virtual void LoadValues (const TConfigFile &file)
 
virtual bool SectionExists (LPCTSTR section) const
 
virtual uint ReadSection (LPCTSTR section, TCHAR *buffer, uint bufSize) const =0
 
virtual uint ReadSections (TCHAR *sections, uint bufSize) const =0
 
virtual bool EraseSection (LPCTSTR section)=0
 
virtual bool EraseEntry (LPCTSTR section, LPCTSTR entry)=0
 
virtual void UpdateFile ()=0
 
virtual uint ReadString (LPCTSTR section, LPCTSTR entry, TCHAR *buffer, uint bufSize, LPCTSTR defstr=0) const =0
 
virtual bool WriteString (LPCTSTR section, LPCTSTR entry, LPCTSTR value)=0
 
virtual bool ReadData (LPCTSTR section, LPCTSTR entry, void *buffer, uint size) const
 This method reads binary data.
 
virtual bool WriteData (LPCTSTR section, LPCTSTR entry, void *buffer, uint size)
 This method writes binary data.
 
virtual int ReadInteger (LPCTSTR section, LPCTSTR entry, int defint=0) const
 This method reads an integer.
 
virtual bool WriteInteger (LPCTSTR section, LPCTSTR entry, int value)
 This method writes an integer. We format it as a string.
 
bool SectionExists (const tstring &section) const
 
int ReadSection (const tstring &section, tstring &buffer) const
 
int ReadSections (tstring &sections) const
 
bool EraseSection (const tstring &section)
 
bool EraseEntry (const tstring &section, const tstring &entry)
 
uint ReadString (const tstring &section, const tstring &entry, tstring &buffer, LPCTSTR defstr=0) const
 String-aware overload.
 
uint ReadString (const tstring &section, const tstring &entry, tstring &buffer, const tstring &defstr) const
 
bool WriteString (const tstring &section, const tstring &entry, const tstring &value)
 
bool ReadData (const tstring &section, const tstring &entry, void *buffer, uint size) const
 
bool WriteData (const tstring &section, const tstring &entry, void *buffer, uint size)
 
int ReadInteger (const tstring &section, const tstring &entry, int defint=0) const
 
bool WriteInteger (const tstring &section, const tstring &entry, int value)
 
double ReadDouble (LPCTSTR section, LPCTSTR entry, double defval=0.0) const
 
bool WriteDouble (LPCTSTR section, LPCTSTR entry, double value)
 This method writes an integer.
 
double ReadDouble (const tstring &section, const tstring &entry, double defval=0.0) const
 
bool WriteDouble (const tstring &section, const tstring &entry, double value)
 
bool ReadBool (LPCTSTR section, LPCTSTR entry, bool defval=false) const
 This method reads a boolean value.
 
bool WriteBool (LPCTSTR section, LPCTSTR entry, bool val)
 This method writes a bool.
 
bool ReadBool (const tstring &section, const tstring &entry, bool defval=false) const
 
bool WriteBool (const tstring &section, const tstring &entry, bool val)
 
bool ReadDate (LPCTSTR section, LPCTSTR entry, TDate &value) const
 
bool WriteDate (LPCTSTR section, LPCTSTR entry, const TDate &val)
 
bool ReadDate (const tstring &section, const tstring &entry, TDate &value) const
 
bool WriteDate (const tstring &section, const tstring &entry, const TDate &val)
 
bool ReadSystemTime (LPCTSTR section, LPCTSTR entry, TSystemTime &val) const
 
bool WriteSystemTime (LPCTSTR section, LPCTSTR entry, const TSystemTime &val)
 
bool ReadSystemTime (const tstring &section, const tstring &entry, TSystemTime &val) const
 
bool WriteSystemTime (const tstring &section, const tstring &entry, const TSystemTime &val)
 
bool ReadTime (LPCTSTR section, LPCTSTR entry, TTime &val) const
 
bool WriteTime (LPCTSTR section, LPCTSTR entry, TTime &val)
 
bool ReadTime (const tstring &section, const tstring &entry, TTime &val) const
 
bool WriteTime (const tstring &section, const tstring &entry, TTime &val)
 
bool ReadFont (LPCTSTR section, LPCTSTR entry, LOGFONT &font) const
 This method will take a profile string of the form:
 
bool WriteFont (LPCTSTR section, LPCTSTR entry, const LOGFONT &font)
 This method writes a font description in the following format:
 
bool ReadFont (const tstring &section, const tstring &entry, LOGFONT &font) const
 
bool WriteFont (const tstring &section, const tstring &entry, const LOGFONT &font)
 
bool ReadColor (LPCTSTR section, LPCTSTR entry, TColor &color) const
 This method reads an RGB color.
 
bool WriteColor (LPCTSTR section, LPCTSTR entry, const TColor &clr)
 This method writes an RGB color.
 
bool ReadColor (const tstring &section, const tstring &entry, TColor &color) const
 
bool WriteColor (const tstring &section, const tstring &entry, const TColor &clr)
 
bool ReadRect (LPCTSTR section, LPCTSTR entry, TRect &val) const
 This method reads a rectangle.
 
bool WriteRect (LPCTSTR section, LPCTSTR entry, const TRect &rc)
 This method writes a rectangle.
 
bool ReadRect (const tstring &section, const tstring &entry, TRect &val) const
 
bool WriteRect (const tstring &section, const tstring &entry, const TRect &rc)
 
bool ReadPoint (LPCTSTR section, LPCTSTR entry, TPoint &val) const
 
bool WritePoint (LPCTSTR section, LPCTSTR entry, const TPoint &point)
 This method writes a TPoint.
 
bool ReadPoint (const tstring &section, const tstring &entry, TPoint &val) const
 
bool WritePoint (const tstring &section, const tstring &entry, const TPoint &point)
 
bool ReadSize (LPCTSTR section, LPCTSTR entry, TSize &sz) const
 
bool WriteSize (LPCTSTR section, LPCTSTR entry, const TSize &size)
 This method writes a TSize.
 
bool ReadSize (const tstring &section, const tstring &entry, TSize &sz) const
 
bool WriteSize (const tstring &section, const tstring &entry, const TSize &size)
 

Static Public Member Functions

static void SetPrecision (int newprec=-1)
 
static int GetPrecision ()
 

Static Protected Member Functions

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

tstring FileName
 

Static Protected Attributes

static int DefaultPrecision = -1
 

Detailed Description

Save/Load configuration parameters Base abstract class.

Definition at line 48 of file configfl.h.

Constructor & Destructor Documentation

◆ TConfigFile()

owl::TConfigFile::TConfigFile ( const tstring & name)
inline

Constructs instance and sets FileName to name.

Definition at line 54 of file configfl.h.

◆ ~TConfigFile()

virtual owl::TConfigFile::~TConfigFile ( )
inlinevirtual

Destroys the instance.

Definition at line 57 of file configfl.h.

Member Function Documentation

◆ BoolToString()

tstring owl::TConfigFile::BoolToString ( bool val)
staticprotected

This static method returns yes or no given a boolean value.

Definition at line 102 of file configfl.cpp.

◆ EraseEntry() [1/2]

bool owl::TConfigFile::EraseEntry ( const tstring & section,
const tstring & entry )
inline

Definition at line 389 of file configfl.h.

References EraseEntry().

◆ EraseEntry() [2/2]

virtual bool owl::TConfigFile::EraseEntry ( LPCTSTR section,
LPCTSTR entry )
pure virtual

◆ EraseSection() [1/2]

bool owl::TConfigFile::EraseSection ( const tstring & section)
inline

Definition at line 383 of file configfl.h.

References EraseSection().

◆ EraseSection() [2/2]

virtual bool owl::TConfigFile::EraseSection ( LPCTSTR section)
pure virtual

◆ GetFileName()

const tstring & owl::TConfigFile::GetFileName ( ) const
inline

Definition at line 63 of file configfl.h.

◆ GetPrecision()

static int owl::TConfigFile::GetPrecision ( )
inlinestatic

Definition at line 61 of file configfl.h.

◆ LoadValues()

void owl::TConfigFile::LoadValues ( const TConfigFile & file)
virtual

Reimplemented in owl::TMemConfigFile.

Definition at line 144 of file configfl.cpp.

References _T, _tcslen, owl::is_integer(), MAX_PATH, WriteInteger(), and WriteString().

◆ ReadBool() [1/2]

bool owl::TConfigFile::ReadBool ( const tstring & section,
const tstring & entry,
bool defval = false ) const
inline

Definition at line 439 of file configfl.h.

References ReadBool().

◆ ReadBool() [2/2]

bool owl::TConfigFile::ReadBool ( LPCTSTR section,
LPCTSTR entry,
bool defval = false ) const

This method reads a boolean value.

Definition at line 388 of file configfl.cpp.

References _T, _tcslen, COUNTOF, PRECONDITION, ReadString(), and StringToBool().

◆ ReadColor() [1/2]

bool owl::TConfigFile::ReadColor ( const tstring & section,
const tstring & entry,
TColor & color ) const
inline

Definition at line 507 of file configfl.h.

References ReadColor().

◆ ReadColor() [2/2]

bool owl::TConfigFile::ReadColor ( LPCTSTR section,
LPCTSTR entry,
TColor & color ) const

This method reads an RGB color.

Definition at line 742 of file configfl.cpp.

References _T, _tcschr, _tcslen, _ttoi, COUNTOF, PRECONDITION, and ReadString().

◆ ReadData() [1/2]

bool owl::TConfigFile::ReadData ( const tstring & section,
const tstring & entry,
void * buffer,
uint size ) const
inline

Definition at line 396 of file configfl.h.

References ReadData().

◆ ReadData() [2/2]

bool owl::TConfigFile::ReadData ( LPCTSTR section,
LPCTSTR entry,
void * buffer,
uint size ) const
virtual

This method reads binary data.

Reimplemented in owl::TIniConfigFile, owl::TIniConfigFile, owl::TRegConfigFile, and owl::TRegConfigFile.

Definition at line 193 of file configfl.cpp.

References _stscanf, _T, _tcslen, PRECONDITION, and ReadString().

◆ ReadDate() [1/2]

bool owl::TConfigFile::ReadDate ( const tstring & section,
const tstring & entry,
TDate & value ) const
inline

Definition at line 453 of file configfl.h.

References ReadDate().

◆ ReadDate() [2/2]

bool owl::TConfigFile::ReadDate ( LPCTSTR section,
LPCTSTR entry,
TDate & value ) const

Definition at line 416 of file configfl.cpp.

References _T, PRECONDITION, and ReadString().

◆ ReadDouble() [1/2]

double owl::TConfigFile::ReadDouble ( const tstring & section,
const tstring & entry,
double defval = 0.0 ) const
inline

Definition at line 425 of file configfl.h.

References ReadDouble().

◆ ReadDouble() [2/2]

double owl::TConfigFile::ReadDouble ( LPCTSTR section,
LPCTSTR entry,
double defval = 0.0 ) const

Definition at line 333 of file configfl.cpp.

References _T, _tcslen, _tcstod, COUNTOF, PRECONDITION, and ReadString().

◆ ReadFont() [1/2]

bool owl::TConfigFile::ReadFont ( const tstring & section,
const tstring & entry,
LOGFONT & font ) const
inline

Definition at line 493 of file configfl.h.

References ReadFont().

◆ ReadFont() [2/2]

bool owl::TConfigFile::ReadFont ( LPCTSTR section,
LPCTSTR entry,
LOGFONT & pFont ) const

This method will take a profile string of the form:

+---------------- lfHeight
| +------------- lfWidth
| | /lfWeight
| | +------- / lfItalic
| | | \ lfUnderline
| | | \lfStrikeOut
| | | +----- lfEscapement
| | | | +-- lfOrientation
| | | | |
v v v v v
10, 8, BIU, 0, 0, 0, 0, 0, 0, 0, Times New Roman
^ ^ ^ ^ ^ ^
| | | | | |
lfCharSet -+ | | | | |
lfOutPrecision ----+ | | | |
lfClipPrecision -------+ | | |
lfQuality ----------+ | |
lfPitchAndFamily -------------+ |
lfFaceName ----------------+

and fills in a logfont structure.

Definition at line 521 of file configfl.cpp.

References _T, _tcscat, _tcschr, _tcscpy, _tcslen, _tcstok, _ttoi, MAX_PATH, PRECONDITION, and ReadString().

◆ ReadInteger() [1/2]

int owl::TConfigFile::ReadInteger ( const tstring & section,
const tstring & entry,
int defint = 0 ) const
inline

Definition at line 411 of file configfl.h.

References ReadInteger().

◆ ReadInteger() [2/2]

int owl::TConfigFile::ReadInteger ( LPCTSTR section,
LPCTSTR entry,
int defint = 0 ) const
virtual

This method reads an integer.

Reimplemented in owl::TRegConfigFile, and owl::TRegConfigFile.

Definition at line 236 of file configfl.cpp.

References _T, _tcstol, COUNTOF, PRECONDITION, and ReadString().

◆ ReadPoint() [1/2]

bool owl::TConfigFile::ReadPoint ( const tstring & section,
const tstring & entry,
TPoint & val ) const
inline

Definition at line 535 of file configfl.h.

References ReadPoint().

◆ ReadPoint() [2/2]

bool owl::TConfigFile::ReadPoint ( LPCTSTR section,
LPCTSTR entry,
TPoint & val ) const

Definition at line 796 of file configfl.cpp.

References _istdigit, _T, _tcschr, _tcslen, _ttoi, COUNTOF, PRECONDITION, and ReadString().

◆ ReadRect() [1/2]

bool owl::TConfigFile::ReadRect ( const tstring & section,
const tstring & entry,
TRect & val ) const
inline

Definition at line 521 of file configfl.h.

References ReadRect().

◆ ReadRect() [2/2]

bool owl::TConfigFile::ReadRect ( LPCTSTR section,
LPCTSTR entry,
TRect & val ) const

This method reads a rectangle.

Definition at line 844 of file configfl.cpp.

References _istdigit, _T, _tcschr, _tcslen, _ttoi, COUNTOF, PRECONDITION, and ReadString().

◆ ReadSection() [1/2]

int owl::TConfigFile::ReadSection ( const tstring & section,
tstring & buffer ) const

Definition at line 280 of file configfl.cpp.

References ReadSection().

◆ ReadSection() [2/2]

virtual uint owl::TConfigFile::ReadSection ( LPCTSTR section,
TCHAR * buffer,
uint bufSize ) const
pure virtual

◆ ReadSections() [1/2]

virtual uint owl::TConfigFile::ReadSections ( TCHAR * sections,
uint bufSize ) const
pure virtual

◆ ReadSections() [2/2]

int owl::TConfigFile::ReadSections ( tstring & sections) const

Definition at line 299 of file configfl.cpp.

References ReadSections().

◆ ReadSize() [1/2]

bool owl::TConfigFile::ReadSize ( const tstring & section,
const tstring & entry,
TSize & sz ) const
inline

Definition at line 549 of file configfl.h.

References ReadSize().

◆ ReadSize() [2/2]

bool owl::TConfigFile::ReadSize ( LPCTSTR section,
LPCTSTR entry,
TSize & sz ) const
inline

Definition at line 563 of file configfl.h.

References ReadPoint().

◆ ReadString() [1/3]

uint owl::TConfigFile::ReadString ( const tstring & section,
const tstring & entry,
tstring & buffer,
const tstring & defstr ) const
inline

Definition at line 89 of file configfl.h.

◆ ReadString() [2/3]

uint owl::TConfigFile::ReadString ( const tstring & section,
const tstring & entry,
tstring & buffer,
LPCTSTR defstr = 0 ) const

String-aware overload.

Definition at line 318 of file configfl.cpp.

References _T, MAX_PATH, and ReadString().

◆ ReadString() [3/3]

virtual uint owl::TConfigFile::ReadString ( LPCTSTR section,
LPCTSTR entry,
TCHAR * buffer,
uint bufSize,
LPCTSTR defstr = 0 ) const
pure virtual

◆ ReadSystemTime() [1/2]

bool owl::TConfigFile::ReadSystemTime ( const tstring & section,
const tstring & entry,
TSystemTime & val ) const
inline

Definition at line 467 of file configfl.h.

References ReadSystemTime().

◆ ReadSystemTime() [2/2]

bool owl::TConfigFile::ReadSystemTime ( LPCTSTR section,
LPCTSTR entry,
TSystemTime & val ) const

Definition at line 444 of file configfl.cpp.

References _stscanf, _T, _tcslen, COUNTOF, PRECONDITION, and ReadString().

◆ ReadTime() [1/2]

bool owl::TConfigFile::ReadTime ( const tstring & section,
const tstring & entry,
TTime & val ) const
inline

Definition at line 481 of file configfl.h.

References ReadTime().

◆ ReadTime() [2/2]

bool owl::TConfigFile::ReadTime ( LPCTSTR section,
LPCTSTR entry,
TTime & val ) const

Definition at line 472 of file configfl.cpp.

References _stscanf, _T, _tcslen, COUNTOF, PRECONDITION, and ReadString().

◆ SectionExists() [1/2]

bool owl::TConfigFile::SectionExists ( const tstring & section) const
inline

Definition at line 377 of file configfl.h.

References SectionExists().

◆ SectionExists() [2/2]

bool owl::TConfigFile::SectionExists ( LPCTSTR section) const
virtual

Reimplemented in owl::TRegConfigFile, and owl::TRegConfigFile.

Definition at line 905 of file configfl.cpp.

References PRECONDITION, and ReadSection().

◆ SetPrecision()

static void owl::TConfigFile::SetPrecision ( int newprec = -1)
inlinestatic

Definition at line 60 of file configfl.h.

◆ StringToBool()

bool owl::TConfigFile::StringToBool ( LPCTSTR str,
bool * val )
staticprotected

This static method converts a string to a bool, accepting most common boolean keywords: yes, on, true and 1.

Definition at line 77 of file configfl.cpp.

◆ UpdateFile()

virtual void owl::TConfigFile::UpdateFile ( )
pure virtual

◆ WriteBool() [1/2]

bool owl::TConfigFile::WriteBool ( const tstring & section,
const tstring & entry,
bool val )
inline

Definition at line 446 of file configfl.h.

References WriteBool().

◆ WriteBool() [2/2]

bool owl::TConfigFile::WriteBool ( LPCTSTR section,
LPCTSTR entry,
bool val )

This method writes a bool.

Definition at line 408 of file configfl.cpp.

References BoolToString(), PRECONDITION, and WriteString().

◆ WriteColor() [1/2]

bool owl::TConfigFile::WriteColor ( const tstring & section,
const tstring & entry,
const TColor & clr )
inline

Definition at line 514 of file configfl.h.

References WriteColor().

◆ WriteColor() [2/2]

bool owl::TConfigFile::WriteColor ( LPCTSTR section,
LPCTSTR entry,
const TColor & clr )

This method writes an RGB color.

Definition at line 784 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

◆ WriteData() [1/2]

bool owl::TConfigFile::WriteData ( const tstring & section,
const tstring & entry,
void * buffer,
uint size )
inline

Definition at line 403 of file configfl.h.

References WriteData().

◆ WriteData() [2/2]

bool owl::TConfigFile::WriteData ( LPCTSTR section,
LPCTSTR entry,
void * buffer,
uint size )
virtual

This method writes binary data.

Reimplemented in owl::TIniConfigFile, owl::TIniConfigFile, owl::TRegConfigFile, and owl::TRegConfigFile.

Definition at line 219 of file configfl.cpp.

References _stprintf, _T, PRECONDITION, and WriteString().

◆ WriteDate() [1/2]

bool owl::TConfigFile::WriteDate ( const tstring & section,
const tstring & entry,
const TDate & val )
inline

Definition at line 460 of file configfl.h.

References WriteDate().

◆ WriteDate() [2/2]

bool owl::TConfigFile::WriteDate ( LPCTSTR section,
LPCTSTR entry,
const TDate & val )

◆ WriteDouble() [1/2]

bool owl::TConfigFile::WriteDouble ( const tstring & section,
const tstring & entry,
double value )
inline

Definition at line 432 of file configfl.h.

References WriteDouble().

◆ WriteDouble() [2/2]

bool owl::TConfigFile::WriteDouble ( LPCTSTR section,
LPCTSTR entry,
double value )

This method writes an integer.

Definition at line 354 of file configfl.cpp.

References _itot, _stprintf, _T, DefaultPrecision, PRECONDITION, and WriteString().

◆ WriteFont() [1/2]

bool owl::TConfigFile::WriteFont ( const tstring & section,
const tstring & entry,
const LOGFONT & font )
inline

Definition at line 500 of file configfl.h.

References WriteFont().

◆ WriteFont() [2/2]

bool owl::TConfigFile::WriteFont ( LPCTSTR section,
LPCTSTR entry,
const LOGFONT & logFont )

This method writes a font description in the following format:

+---------------- lfHeight
| +------------- lfWidth
| | /lfWeight
| | +------- / lfItalic
| | | \ lfUnderline
| | | \lfStrikeOut
| | | +----- lfEscapement
| | | | +-- lfOrientation
| | | | |
v v v v v
10, 8, BIU, 0, 0, 0, 0, 0, 0, 0, Times New Roman
^ ^ ^ ^ ^ ^
| | | | | |
lfCharSet -+ | | | | |
lfOutPrecision ----+ | | | |
lfClipPrecision -------+ | | |
lfQuality ----------+ | |
lfPitchAndFamily -------------+ |
lfFaceName ----------------+

Definition at line 651 of file configfl.cpp.

References _itot, _T, PRECONDITION, and WriteString().

◆ WriteInteger() [1/2]

bool owl::TConfigFile::WriteInteger ( const tstring & section,
const tstring & entry,
int value )
inline

Definition at line 418 of file configfl.h.

References WriteInteger().

◆ WriteInteger() [2/2]

bool owl::TConfigFile::WriteInteger ( LPCTSTR section,
LPCTSTR entry,
int value )
virtual

This method writes an integer. We format it as a string.

Reimplemented in owl::TRegConfigFile, and owl::TRegConfigFile.

Definition at line 257 of file configfl.cpp.

References _ltot, _T, PRECONDITION, and WriteString().

◆ WritePoint() [1/2]

bool owl::TConfigFile::WritePoint ( const tstring & section,
const tstring & entry,
const TPoint & point )
inline

Definition at line 542 of file configfl.h.

References WritePoint().

◆ WritePoint() [2/2]

bool owl::TConfigFile::WritePoint ( LPCTSTR section,
LPCTSTR entry,
const TPoint & point )

This method writes a TPoint.

Definition at line 832 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

◆ WriteRect() [1/2]

bool owl::TConfigFile::WriteRect ( const tstring & section,
const tstring & entry,
const TRect & rc )
inline

Definition at line 528 of file configfl.h.

References WriteRect().

◆ WriteRect() [2/2]

bool owl::TConfigFile::WriteRect ( LPCTSTR section,
LPCTSTR entry,
const TRect & rc )

This method writes a rectangle.

Definition at line 883 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

◆ WriteSize() [1/2]

bool owl::TConfigFile::WriteSize ( const tstring & section,
const tstring & entry,
const TSize & size )
inline

Definition at line 556 of file configfl.h.

References WriteSize().

◆ WriteSize() [2/2]

bool owl::TConfigFile::WriteSize ( LPCTSTR section,
LPCTSTR entry,
const TSize & size )

This method writes a TSize.

Definition at line 895 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

◆ WriteString() [1/2]

bool owl::TConfigFile::WriteString ( const tstring & section,
const tstring & entry,
const tstring & value )
inline

Definition at line 568 of file configfl.h.

References WriteString().

◆ WriteString() [2/2]

virtual bool owl::TConfigFile::WriteString ( LPCTSTR section,
LPCTSTR entry,
LPCTSTR value )
pure virtual

◆ WriteSystemTime() [1/2]

bool owl::TConfigFile::WriteSystemTime ( const tstring & section,
const tstring & entry,
const TSystemTime & val )
inline

Definition at line 474 of file configfl.h.

References WriteSystemTime().

◆ WriteSystemTime() [2/2]

bool owl::TConfigFile::WriteSystemTime ( LPCTSTR section,
LPCTSTR entry,
const TSystemTime & val )

Definition at line 461 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

◆ WriteTime() [1/2]

bool owl::TConfigFile::WriteTime ( const tstring & section,
const tstring & entry,
TTime & val )
inline

Definition at line 487 of file configfl.h.

References WriteTime().

◆ WriteTime() [2/2]

bool owl::TConfigFile::WriteTime ( LPCTSTR section,
LPCTSTR entry,
TTime & val )

Definition at line 488 of file configfl.cpp.

References _T, PRECONDITION, and WriteString().

Member Data Documentation

◆ DefaultPrecision

int owl::TConfigFile::DefaultPrecision = -1
staticprotected

Definition at line 154 of file configfl.h.

◆ FileName

tstring owl::TConfigFile::FileName
protected

Definition at line 153 of file configfl.h.


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