#include <Files.hxx>
Inheritance diagram for Talos::ConfigStream:
Public Member Functions | |
ConfigStream () | |
Default constructor. | |
ConfigStream (string file_name, string comments="#%", string delimiters=" \t:=|\n,;", string markup_tags="<>$") | |
Main constructor. | |
void | SetMarkupTags (string markup_tags) |
Sets the markup tags. | |
string | GetMarkupTags () const |
Returns the markup tags. | |
virtual string | GetElement () |
Returns the next valid element. | |
virtual string | GetLine () |
Returns the next valid line. | |
virtual bool | GetLine (string &line) |
Returns the next valid line. | |
Protected Attributes | |
string | markup_tags_ |
|
Default constructor. Nothing is performed. |
|
Main constructor. Opens a file.
|
|
Returns the next valid element. Returns the next valid element, i.e. the next element that is not in a line to be discarded.
Reimplemented from Talos::ExtStream.
|
|
Returns the next valid line. Returns the next valid line, i.e. the next line that is not a line to be discarded and from which comments have been extracted.
Reimplemented from Talos::ExtStream.
|
|
Returns the next valid line. Returns the next valid line, i.e. the next line that is not a line to be discarded and from which comments have been extracted.
Reimplemented from Talos::ExtStream.
|
|
Returns the markup tags.
|
|
Sets the markup tags.
|