gatb.core-API-0.0.0
|
Raw dump of a IProperties instance. More...
#include <Property.hpp>
Public Member Functions | |
RawDumpPropertiesVisitor (std::ostream &os=std::cout, int width=40, char sep=':') | |
virtual | ~RawDumpPropertiesVisitor () |
void | visitBegin () |
void | visitEnd () |
void | visitProperty (IProperty *prop) |
Public Member Functions inherited from SmartPointer | |
void | use () |
void | forget () |
Public Member Functions inherited from ISmartPointer | |
virtual | ~ISmartPointer () |
Additional Inherited Members | |
Protected Member Functions inherited from SmartPointer | |
SmartPointer () | |
virtual | ~SmartPointer () |
Raw dump of a IProperties instance.
This file format is simply a list of lines, with each line holding the key and the value (separated by a space character). Note that the depth information is lost.
This kind of output is perfect for keeping properties in a configuration file for instance. This is used by a tool for its configuration file '.toolrc'
RawDumpPropertiesVisitor | ( | std::ostream & | os = std::cout , |
int | width = 40 , |
||
char | sep = ':' |
||
) |
Constructor.
os | : output stream where the visitor can dump information. |
|
virtual |
Desctructor.
|
inlinevirtual |
Called before the true visit of the IProperty instance.
Implements IPropertiesVisitor.
|
inlinevirtual |
Called after the true visit of the IProperty instance.
Implements IPropertiesVisitor.
|
virtual |
Visit of the IProperty instance.
[in] | prop | : the instance to be visited. |
Implements IPropertiesVisitor.