|
libFAUDES
Sections
Index
|
faudes::TokenWriter Class ReferenceA 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 38 of file cfl_tokenwriter.h. Member Enumeration DocumentationMode of operation: write to from file, string or stdout. Definition at line 45 of file cfl_tokenwriter.h. Constructor & Destructor Documentation
Console or String TokenWriter constructor. Technical detail: the console tokenwriter holds a ref. to std::cout; it will behave strange and perhaps cause segfaults if it is instantiated befor std::cout is up; you can avoid this issue by instantiating you console tokenwriter using the new operator.
Definition at line 47 of file cfl_tokenwriter.cpp.
File TokenWriter constructor.
Definition at line 29 of file cfl_tokenwriter.cpp.
Member Function Documentation
Set number of columns in a line.
Definition at line 113 of file cfl_tokenwriter.cpp.
Get number of columns in a line.
Definition at line 108 of file cfl_tokenwriter.cpp.
Turn endl separator on/off. Definition at line 131 of file cfl_tokenwriter.cpp.
Write endl separator.
Definition at line 118 of file cfl_tokenwriter.cpp.
Get the filename. Return dummy values for console or string mode.
Definition at line 264 of file cfl_tokenwriter.cpp.
Flush any buffers. Definition at line 92 of file cfl_tokenwriter.cpp.
Operator for writing Idxs to a stream.
Definition at line 296 of file cfl_tokenwriter.h.
Operator for writing std::strings to a stream.
Definition at line 281 of file cfl_tokenwriter.h.
Operator for writing tokens.
Definition at line 266 of file cfl_tokenwriter.h.
Retrieve output as string (if in String mode).
Definition at line 98 of file cfl_tokenwriter.cpp.
Write next token.
Definition at line 137 of file cfl_tokenwriter.cpp.
Write begin label.
Definition at line 224 of file cfl_tokenwriter.cpp.
Write comment.
Definition at line 259 of file cfl_tokenwriter.cpp.
Write comment.
Definition at line 238 of file cfl_tokenwriter.cpp.
Write end label.
Definition at line 231 of file cfl_tokenwriter.cpp.
Write float.
Definition at line 208 of file cfl_tokenwriter.cpp.
Write non negative integer.
Definition at line 194 of file cfl_tokenwriter.cpp.
Write integer as hex.
Definition at line 201 of file cfl_tokenwriter.cpp.
Write option (may not contain any "+").
Definition at line 216 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 165 of file cfl_tokenwriter.cpp.
Write string. Writes string enclosed in verbatim markes __VERBATIM__, incl controls.
Definition at line 178 of file cfl_tokenwriter.cpp. Member Data Documentation
Column counter. Definition at line 322 of file cfl_tokenwriter.h.
Number of columns. Definition at line 319 of file cfl_tokenwriter.h.
Endl seperator on/off. Definition at line 325 of file cfl_tokenwriter.h.
Filename. Definition at line 316 of file cfl_tokenwriter.h.
Actual stream object, file output. Definition at line 310 of file cfl_tokenwriter.h.
Output mode. Definition at line 304 of file cfl_tokenwriter.h.
ostream object pointer Definition at line 307 of file cfl_tokenwriter.h.
Actual stream object, string output. Definition at line 313 of file cfl_tokenwriter.h. The documentation for this class was generated from the following files: |
libFAUDES 2.16b --- 2010-9-8 --- c++ source docu by doxygen 1.6.3