Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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=" \\) |
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 23 of file mitkConfigFileReader.h.
|
protected |
Definition at line 28 of file mitkConfigFileReader.h.
|
protected |
Definition at line 29 of file mitkConfigFileReader.h.
|
inline |
Definition at line 84 of file mitkConfigFileReader.h.
References ReadFile().
|
inlineprotected |
Definition at line 67 of file mitkConfigFileReader.h.
Referenced by IntValue(), ReadStream(), and Value().
|
inline |
Definition at line 158 of file mitkConfigFileReader.h.
References Value().
Referenced by IntValue(), and main().
|
inline |
Definition at line 166 of file mitkConfigFileReader.h.
References ContentIndex(), and IntValue().
|
inlineprotected |
Definition at line 58 of file mitkConfigFileReader.h.
Referenced by ReadStream(), and Vector().
|
inline |
Definition at line 189 of file mitkConfigFileReader.h.
References ListSizeIndex().
Referenced by ListSize(), and ReadStream().
|
inline |
Definition at line 198 of file mitkConfigFileReader.h.
References ListSize(), and ListSizeIndex().
|
inlineprotected |
Definition at line 75 of file mitkConfigFileReader.h.
Referenced by ListSize(), and ReadStream().
|
inline |
Definition at line 89 of file mitkConfigFileReader.h.
References ReadStream().
Referenced by ConfigFileReader(), and main().
|
inline |
Definition at line 96 of file mitkConfigFileReader.h.
References ContentIndex(), line, ListIndex(), ListSize(), ListSizeIndex(), RemoveComment(), and Trim().
Referenced by main(), and ReadFile().
|
inlineprotected |
Definition at line 49 of file mitkConfigFileReader.h.
References Trim().
Referenced by ReadStream().
|
inlineprotected |
Definition at line 35 of file mitkConfigFileReader.h.
Referenced by ReadStream(), and RemoveComment().
|
inline |
Definition at line 137 of file mitkConfigFileReader.h.
References ContentIndex().
Referenced by IntValue(), main(), and Value().
|
inline |
Definition at line 146 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 31 of file mitkConfigFileReader.h.
|
protected |
Definition at line 32 of file mitkConfigFileReader.h.
|
protected |
Definition at line 33 of file mitkConfigFileReader.h.