Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
faudes::TokenWriter Class Reference A TokenWriter writes sequential tokens to a file, a string or stdout. More...
Detailed DescriptionA TokenWriter writes sequential tokens to a file, a string or stdout. It is the counterpart of the TokenReader. Since wrtiting data comparatively straight foreward, there is no explicit support of sections etc. It is left to the calling function to organise the output. Definition at line 42 of file cfl_tokenwriter.h. Member Enumeration DocumentationMode of operation: write to file, string or stdout. Definition at line 49 of file cfl_tokenwriter.h. Constructor & Destructor Documentation
Console or String TokenWriter constructor. Technical detail: Stdout mode uses the global console object ConsoleOut::G() declared in cfl_helper.h.
Definition at line 73 of file cfl_tokenwriter.cpp.
File TokenWriter constructor.
Definition at line 29 of file cfl_tokenwriter.cpp.
Xml File TokenWriter constructor.
Definition at line 47 of file cfl_tokenwriter.cpp.
Stream TokenWriter constructor.
Definition at line 118 of file cfl_tokenwriter.cpp.
Member Function Documentation
Get number of columns in a line.
Definition at line 179 of file cfl_tokenwriter.cpp.
Set number of columns in a line.
Definition at line 184 of file cfl_tokenwriter.cpp.
Flush internal buffer. Definition at line 209 of file cfl_tokenwriter.cpp.
Write endl separator.
Definition at line 189 of file cfl_tokenwriter.cpp.
Turn endl separator on/off. Definition at line 203 of file cfl_tokenwriter.cpp.
Get the filename. Return dummy values for console or string mode.
Definition at line 508 of file cfl_tokenwriter.cpp.
Flush any buffers. Definition at line 147 of file cfl_tokenwriter.cpp.
Operator for writing tokens.
Definition at line 388 of file cfl_tokenwriter.h.
Operator for writing std::strings to a stream.
Definition at line 403 of file cfl_tokenwriter.h.
Operator for writing Idxs to a stream.
Definition at line 418 of file cfl_tokenwriter.h.
Retrieve output as string (if in String mode)
Definition at line 160 of file cfl_tokenwriter.cpp.
Access C++ stream. Definition at line 171 of file cfl_tokenwriter.cpp.
Write next token.
Definition at line 250 of file cfl_tokenwriter.cpp.
Write begin label.
Definition at line 408 of file cfl_tokenwriter.cpp.
Write comment.
Definition at line 502 of file cfl_tokenwriter.cpp.
Write character data. Writes the specified string as it is. Thus, relevant enteties must be escaped befrand.
Definition at line 348 of file cfl_tokenwriter.cpp.
Write comment in faudes format.
Definition at line 429 of file cfl_tokenwriter.cpp.
Write empty section label.
Definition at line 422 of file cfl_tokenwriter.cpp.
Write end label.
Definition at line 415 of file cfl_tokenwriter.cpp.
Write float.
Definition at line 392 of file cfl_tokenwriter.cpp.
Write non negative integer.
Definition at line 378 of file cfl_tokenwriter.cpp.
Write integer as hex.
Definition at line 385 of file cfl_tokenwriter.cpp.
Write option (may not contain any "+")
Definition at line 400 of file cfl_tokenwriter.cpp.
Write string. Writes a std string token, i.e. enclosed in double quotes any quotes in the string will be escaped, controls ignored.
Definition at line 292 of file cfl_tokenwriter.cpp.
Write text. Writes the specified string. Relevant enteties are escaped.
Definition at line 305 of file cfl_tokenwriter.cpp.
Write text section. Writes the specified string eclosed in begin/end tags.
Definition at line 340 of file cfl_tokenwriter.cpp.
Write text section. Writes the specified string eclosed in begin/end tags. Use this version to have attributes in the begin tag.
Definition at line 318 of file cfl_tokenwriter.cpp.
Write string. Writes string enclosed in verbatim markes VERBATIM, incl controls.
Definition at line 361 of file cfl_tokenwriter.cpp.
Write comment in Xml format.
Definition at line 470 of file cfl_tokenwriter.cpp.
Member Data Documentation
Column counter. Definition at line 451 of file cfl_tokenwriter.h.
Number of columns. Definition at line 448 of file cfl_tokenwriter.h.
Xml doctype if in xml mode. Definition at line 457 of file cfl_tokenwriter.h.
Endl seperator on/off. Definition at line 454 of file cfl_tokenwriter.h.
Filename. Definition at line 445 of file cfl_tokenwriter.h.
Actual stream object, file output. Definition at line 432 of file cfl_tokenwriter.h.
Definition at line 442 of file cfl_tokenwriter.h.
Output mode. Definition at line 426 of file cfl_tokenwriter.h.
Outputbuffer. Definition at line 441 of file cfl_tokenwriter.h.
ostream object pointer Definition at line 429 of file cfl_tokenwriter.h.
Actual stream object, string output. Definition at line 435 of file cfl_tokenwriter.h.
Actual stream object, stream output. Definition at line 438 of file cfl_tokenwriter.h. The documentation for this class was generated from the following files: libFAUDES 2.24g --- 2014.09.15 --- c++ api documentaion by doxygen |