OpenLB 1.7
|
#include <xmlReaderOutput.h>
Public Member Functions | |
template<typename ParameterType > | |
void | parameterReading (std::vector< std::string > parameters, ParameterType &var, bool defaultAvailable, bool exitIfMissing, bool showWarning) const |
void | loadFile (bool loadOK, std::string fName) const |
void | readValue (bool warningsOn, std::string name, std::string fName) const |
void | printWarning (std::string name, std::string typeName, std::string value, bool verboseOn, bool exitIfMissing) const |
print warning if verbose mode is on and exit, if exItMissing is true | |
template<typename XMLreaderType > | |
void | print (int indent, XMLreaderType &xmlReader) const |
printing the whole structure of the XMLreader | |
XMLreaderOutput () | |
XMLreaderOutput (std::ostream &stream) | |
XMLreaderOutput (OutputChannel outputChannel) | |
Protected Attributes | |
OstreamManager | clout |
bool | _inDebugMode = false |
Definition at line 32 of file xmlReaderOutput.h.
|
inline |
Definition at line 46 of file xmlReaderOutput.h.
|
inline |
Definition at line 47 of file xmlReaderOutput.h.
olb::XMLreaderOutput::XMLreaderOutput | ( | OutputChannel | outputChannel | ) |
Definition at line 55 of file xmlReaderOutput.h.
References _inDebugMode, clout, ERRCHANNEL, and TERMINAL.
void olb::XMLreaderOutput::loadFile | ( | bool | loadOK, |
std::string | fName ) const |
Definition at line 99 of file xmlReaderOutput.h.
References clout.
void olb::XMLreaderOutput::parameterReading | ( | std::vector< std::string > | parameters, |
ParameterType & | var, | ||
bool | defaultAvailable, | ||
bool | exitIfMissing, | ||
bool | showWarning ) const |
Definition at line 70 of file xmlReaderOutput.h.
References _inDebugMode, and clout.
void olb::XMLreaderOutput::print | ( | int | indent, |
XMLreaderType & | xmlReader ) const |
printing the whole structure of the XMLreader
Definition at line 132 of file xmlReaderOutput.h.
References clout.
void olb::XMLreaderOutput::printWarning | ( | std::string | name, |
std::string | typeName, | ||
std::string | value, | ||
bool | verboseOn, | ||
bool | exitIfMissing ) const |
print warning if verbose mode is on and exit, if exItMissing is true
Definition at line 114 of file xmlReaderOutput.h.
References clout.
void olb::XMLreaderOutput::readValue | ( | bool | warningsOn, |
std::string | name, | ||
std::string | fName ) const |
Definition at line 106 of file xmlReaderOutput.h.
References clout.
|
protected |
Definition at line 52 of file xmlReaderOutput.h.
|
mutableprotected |
Definition at line 51 of file xmlReaderOutput.h.