#include <mootTokenIO.h>
Inheritance diagram for moot::TokenWriter:
|
Default constructor
|
|
Default destructor |
|
Complain |
|
Finish output to currently selected sink & perform any required cleanup operations. This method should always be called before selecting a new output sink. The current output stream is only closed if it was created locally. Descendants may override this method. Reimplemented in moot::TokenWriterExpat. |
|
Write a comment to the currently selected output sink, printf() style. Descendants may override this method. |
|
Write some data to the currently selected output sink, printf() style. Descendants may override this method. |
|
Write a single comment to the currently selected output sink Descendants may override this method. |
|
Begin a comment block. This may effect behavior of subsequent put_raw_*() calls. Descendants using comments should override this method. Reimplemented in moot::TokenWriterExpat. |
|
End a comment block. This may effect behavior of subsequent put_raw() calls. Descendants using comments should override this method. Reimplemented in moot::TokenWriterExpat. |
|
Write a single comment to the currently selected output sink Descendants may override this method. |
|
Write a single comment to the currently selected output sink Descendants may override this method. |
|
Write some data to the currently selected output sink Descendants may override this method. |
|
Write some data to the currently selected output sink Descendants may override this method. |
|
Write some data to the currently selected output sink Descendants may override this method. Reimplemented in moot::TokenWriterExpat, and moot::TokenWriterNative. |
|
Write a single sentence to the currently selected output sink. Descendants may override this method. Default implementation just calls putToken() for every element of sentence. Reimplemented in moot::TokenWriterExpat, and moot::TokenWriterNative. |
|
Write a single token to the currently selected output sink. Descendants must override this method. Reimplemented in moot::TokenWriterExpat, and moot::TokenWriterNative. |
|
Select output to a C++ stream. Caller is responsible for allocation and de-allocation. Descendants using C++ stream input may override this method. Default implementation calls from_mstream(). |
|
Select output to a file descriptor. Caller is responsible for opening and closing the stream. Descendants using file descriptor may override this method. No default implementation. |
|
Select output to a C stream. Caller is responsible for opening and closing the stream. Descendants using C stream output may override this method. Default implementation calls to_fd(). |
|
Select output to a named file. Descendants using named file output may override this method. The filename "-" may be used to specify stdout. |
|
Select output to a mootio::mistream object, reference version. Default implementation just calls to_mstream(&mos). |
|
Select output to a mootio::mostream object, pointer version. This is the basic case. Descendendant classes may override this method. Reimplemented in moot::TokenWriterExpat. |
|
Set writer subtype name to use for diagnostics. Descendants may override this method. |
|
Format flags: bitmask of TokenIO::TokenIOFormat flags |
|
Whether we're in a comment-block |
|
Name of TokenWriter subtype for diagnostics |
|
Pointer to underlying mootio::mostream used for output |
|
Whether we created @tw_ostream ourselves |