7#ifndef __CONFIGNODEITER_H__
8#define __CONFIGNODEITER_H__
27 bool down(
const PString & childName);
bool getChildValue(const PString &childName, T &data, const GenericConfigCheck *checker=NULL)
Get a value from the current ConfigNode and check data.
bool p_isWriteMode
True if the ConfigNodeIter is in writing mode.
bool down(const PString &childName)
Move to the child of the current node.
void up()
Move to the parent of the current node.
bool getValue(T &data) const
Get a value from the current ConfigNode.
ConfigNode * p_current
Current ConfigNode.
ConfigNodeIter & operator=(const ConfigNodeIter &other)
Definition of equal operator of ConfigNodeIter.
bool isWriteMode() const
Say if the iterator is in write mode.
ConfigNodeIter(const ConfigNodeIter &other)
Copy constructor of ConfigNodeIter.
ConfigNode * operator->()
Get the current ConfigNode.
virtual ~ConfigNodeIter()
Destructor of ConfigNodeIter.
std::ostream * p_out
std::ostream to be used for the error messages
void copyConfigNodeIter(const ConfigNodeIter &other)
Copy function of ConfigNodeIter.
std::ostream * getOut()
Get the pointer of the output stream.
void initialisationConfigNodeIter()
Initialisation function of the class ConfigNodeIter.
Generic class for a configuration check.