40 #ifndef C_INITIALIZATION_PARSER_FUNCTOR_HPP 41 #define C_INITIALIZATION_PARSER_FUNCTOR_HPP 92 virtual void GoUp() = 0;
98 virtual void Process(
const std::string& content) = 0;
virtual ~CInitializationParserFunctor()
Destructor.
int debug_level
The debug level.
virtual void GoDown()=0
Start the initialization of a new aggregated data structure.
CInitializationParserFunctor()
Constructor.
std::string file_variable
variable used to write in a variable
virtual void Process(const std::string &content)=0
Process an element.
virtual void CheckEnd()=0
Check that all the necessary information was present in the initialization string.
virtual void FinalizeFileInit()=0
Copy and close the file.
bool write_in_a_file
the data will be written in a data copied by the caller
virtual void GoNext()=0
Consume an element of an aggregated data structure.
virtual void ActivateFileInit(const std::string &filename)=0
In case the test_v has a size over a threshold write the tests on a file.
Template definition of refcount.
virtual void GoUp()=0
Ends the initialization of the current aggregated data structure.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...