Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkConfigFileReader.h>
Public Member Functions | |
ConfigFileReader (std::string const &configFile) | |
void | ReadFile (std::string const &filePath) |
void | ReadStream (std::istream &stream) |
std::string | Value (std::string const §ion, std::string const &entry) const |
std::string | Value (const std::string §ion, const std::string &entry, const std::string &standard) |
int | IntValue (const std::string §ion, const std::string &entry) const |
int | IntValue (const std::string §ion, const std::string &entry, int standard) |
std::vector< std::string > | Vector (std::string const §ion, unsigned int index) const |
unsigned int | ListSize (std::string const §ion) const |
unsigned int | ListSize (std::string const §ion, unsigned int standard) |
Protected Types | |
typedef std::map< std::string, std::string > | ContentType |
typedef std::map< std::string, std::vector< std::string > > | ListContentType |
Protected Member Functions | |
std::string | Trim (std::string const &source, char const *delim=" \t\r\n") |
std::string | RemoveComment (std::string const &source, char const *delim="#;") |
std::string | ListIndex (std::string const §ion, unsigned int index) const |
std::string | ContentIndex (std::string const §ion, std::string const &entry) const |
std::string | ListSizeIndex (std::string const §ion) const |
Protected Attributes | |
ContentType | m_ConfigContent |
ListContentType | m_ListContent |
std::map< std::string, unsigned int > | m_ListSize |
Definition at line 26 of file mitkConfigFileReader.h.
|
protected |
Definition at line 31 of file mitkConfigFileReader.h.
|
protected |
Definition at line 32 of file mitkConfigFileReader.h.
|
inline |
Definition at line 87 of file mitkConfigFileReader.h.
References ReadFile().
|
inlineprotected |
Definition at line 70 of file mitkConfigFileReader.h.
Referenced by IntValue(), ReadStream(), and Value().
|
inline |
Definition at line 159 of file mitkConfigFileReader.h.
References Value().
Referenced by IntValue(), and main().
|
inline |
Definition at line 167 of file mitkConfigFileReader.h.
References ContentIndex(), and IntValue().
|
inlineprotected |
Definition at line 61 of file mitkConfigFileReader.h.
Referenced by ReadStream(), and Vector().
|
inline |
Definition at line 187 of file mitkConfigFileReader.h.
References ListSizeIndex().
Referenced by ListSize(), and ReadStream().
|
inline |
Definition at line 194 of file mitkConfigFileReader.h.
References ListSize(), and ListSizeIndex().
|
inlineprotected |
Definition at line 78 of file mitkConfigFileReader.h.
Referenced by ListSize(), and ReadStream().
|
inline |
Definition at line 92 of file mitkConfigFileReader.h.
References ReadStream().
Referenced by ConfigFileReader(), and main().
|
inline |
Definition at line 99 of file mitkConfigFileReader.h.
References ContentIndex(), line, ListIndex(), ListSize(), ListSizeIndex(), RemoveComment(), and Trim().
Referenced by main(), and ReadFile().
|
inlineprotected |
Definition at line 52 of file mitkConfigFileReader.h.
References Trim().
Referenced by ReadStream().
|
inlineprotected |
Definition at line 38 of file mitkConfigFileReader.h.
Referenced by ReadStream(), and RemoveComment().
|
inline |
Definition at line 140 of file mitkConfigFileReader.h.
References ContentIndex().
Referenced by IntValue(), main(), and Value().
|
inline |
Definition at line 148 of file mitkConfigFileReader.h.
References ContentIndex(), and Value().
|
inline |
Definition at line 180 of file mitkConfigFileReader.h.
References ListIndex().
Referenced by main().
|
protected |
Definition at line 34 of file mitkConfigFileReader.h.
|
protected |
Definition at line 35 of file mitkConfigFileReader.h.
|
protected |
Definition at line 36 of file mitkConfigFileReader.h.