INIHND Class Reference

INI handle class support automatic closing of handle when going out of scope. More...

#include <mi32/inihnd.h>

List of all members.

Public Member Functions

 INIHND ()
 ~INIHND ()
void Close ()
bool IsOpen () const
ERRVALUE Open (const FILEPATH &filepath)
ERRVALUE OpenHost (bool readonly=true)
 operator INIHANDLE () const

Detailed Description

INI handle class support automatic closing of handle when going out of scope.


Constructor & Destructor Documentation

INIHND::INIHND (  )  [inline]

Construct unopened handle.

INIHND::~INIHND (  )  [inline]

Destructor, closes handle if open.


Member Function Documentation

void INIHND::Close (  )  [inline]

Close handle if open.

bool INIHND::IsOpen (  )  const [inline]

Determine if handle references 'open' file.

ERRVALUE INIHND::Open ( const FILEPATH filepath  )  [inline]

Open specified file given FILEPATH.

ERRVALUE INIHND::OpenHost ( bool  readonly = true  )  [inline]

Open "tnthost.ini" file.

INIHND::operator INIHANDLE (  )  const [inline]

Cast to INIHANDLE - Return actual handle for use in other Ini functions.

Do not use in IniClose or errors will occur.


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

Generated on Sun Oct 7 21:33:31 2012 for TNTsdk 2012 by  doxygen 1.6.1