Resource file is a map of sections accessed by section title. More...
#include <cmtkResourceFile.h>
Public Member Functions | |
ResourceFile () | |
Default constructor: do nothing. | |
ResourceFile (const char *fileName) | |
Read constructor. | |
void | Read (const char *fileName) |
Read from resource file. | |
void | Write (const char *fileName) const |
Write to resource file. | |
unsigned int | AddUnique (const char *section, const char *entry, const unsigned int maxItems=0) |
Add a unique (non-duplicate) string to resource section. |
Resource file is a map of sections accessed by section title.
Definition at line 53 of file cmtkResourceFile.h.
cmtk::ResourceFile::ResourceFile | ( | ) | [inline] |
Default constructor: do nothing.
Definition at line 59 of file cmtkResourceFile.h.
cmtk::ResourceFile::ResourceFile | ( | const char * | fileName ) | [inline] |
Read constructor.
Definition at line 62 of file cmtkResourceFile.h.