|
|
Go to the documentation of this file.
24#ifndef FAUDES_TOKENWRITER_H
25#define FAUDES_TOKENWRITER_H
83 std::ios::openmode openmode = std::ios::out|std::ios::trunc);
95 TokenWriter( const std::string& rFilename, const std::string& doctype);
107 TokenWriter(std::ostream& rStream, const std::string& doctype= "");
119 std::string FileName( void) const;
133 bool FileMode( void) const { return mMode==File || mMode==XmlFile ;};
141 bool XmlMode( void) const { return mMode==XmlFile ;};
157 std::string Str( void);
163 std::ostream* Streamp( void);
171 int Columns( void) const;
179 void Columns( int columns);
203 void Write( Token& rToken);
219 void WriteString( const std::string& rString);
242 void WriteText( const std::string& rText);
264 void WriteText( Token& rBeginTag, const std::string& rText);
279 void WriteText( const std::string& rLabel, const std::string& rText);
302 void WriteVerbatim( Token& rBeginTag, const std::string& rText);
317 void WriteVerbatim( const std::string& rLabel, const std::string& rText);
333 void WriteCharacterData( const std::string& rCharData);
343 void WriteInteger( Idx index);
353 void WriteFloat( const double& val);
363 void WriteInteger16( long int val);
373 void WriteOption( const std::string& rOpt);
383 void WriteBegin( const std::string& rLabel);
393 void WriteEnd( const std::string& rLabel);
403 void WriteEmpty( const std::string& rLabel);
413 void WriteComment( const std::string& rComment);
423 void WriteXmlComment( const std::string& rComment);
435 void WriteBinary( const char* pData, long int len);
463 WriteString(rString);
519 void DoFlush( bool clf=1);
bool StdoutMode(void) const
std::ostringstream mSStream
bool FileMode(void) const
libFAUDES 2.33k
--- 2025.09.16
--- c++ api documentaion by doxygen
|