Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
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 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().
|
inline |
Definition at line 166 of file mitkConfigFileReader.h.
References ContentIndex(), IntValue(), and m_ConfigContent.
|
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(), and m_ListSize.
Referenced by ListSize(), and ReadStream().
|
inline |
Definition at line 198 of file mitkConfigFileReader.h.
References ListSize(), ListSizeIndex(), and m_ListSize.
|
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().
|
inline |
Definition at line 96 of file mitkConfigFileReader.h.
References ContentIndex(), ListIndex(), ListSize(), ListSizeIndex(), m_ConfigContent, m_ListContent, m_ListSize, RemoveComment(), and Trim().
Referenced by 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 146 of file mitkConfigFileReader.h.
References ContentIndex(), m_ConfigContent, and Value().
|
inline |
Definition at line 137 of file mitkConfigFileReader.h.
References ContentIndex(), and m_ConfigContent.
Referenced by IntValue(), and Value().
|
inline |
Definition at line 180 of file mitkConfigFileReader.h.
References ListIndex(), and m_ListContent.
|
protected |
Definition at line 31 of file mitkConfigFileReader.h.
Referenced by IntValue(), ReadStream(), and Value().
|
protected |
Definition at line 32 of file mitkConfigFileReader.h.
Referenced by ReadStream(), and Vector().
|
protected |
Definition at line 33 of file mitkConfigFileReader.h.
Referenced by ListSize(), and ReadStream().