Public Member Functions

cmtk::ResourceFile Class Reference
[cmtkIO Library]

Resource file is a map of sections accessed by section title. More...

#include <cmtkResourceFile.h>

Inheritance diagram for cmtk::ResourceFile:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ResourceFile:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Resource file is a map of sections accessed by section title.

Definition at line 53 of file cmtkResourceFile.h.


Constructor & Destructor Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines