counter : output |
Output the block to the stream.
Any other method of any other object can call this method. This is called 'public' access.
The data-type returned is "voidtype";
This method is contained in the object "counter".
The method takes the following arguments:
filedef : Pointer to tgl_structure_parser
Not sure.
obj : Pointer to @schemaobj
Not sure.
This method is overridden from an abstract method with the same signature found in the object @block.
The files "tgl_structure_parser.hpp" and "boost/lexical_cast.hpp" are included.
Output a counter. Each time this is called, the counter is incremented.
if (_count == 0) _count = _start; filedef->write_output(boost::lexical_cast<std::string>(_count)); if (_increment == 0) _count++; else _count += _increment;