INI handle class support automatic closing of handle when going out of scope. More...
#include <mi32/inihnd.h>
Public Member Functions | |
| INIHND () | |
| ~INIHND () | |
| void | Close () |
| bool | IsOpen () const |
| ERRVALUE | Open (const FILEPATH &filepath) |
| ERRVALUE | OpenHost (bool readonly=true) |
| operator INIHANDLE () const | |
INI handle class support automatic closing of handle when going out of scope.
| INIHND::INIHND | ( | ) | [inline] |
Construct unopened handle.
| INIHND::~INIHND | ( | ) | [inline] |
Destructor, closes handle if open.
| void INIHND::Close | ( | ) | [inline] |
Close handle if open.
| bool INIHND::IsOpen | ( | ) | const [inline] |
Determine if handle references 'open' file.
| 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.
1.6.1