winIDEA SDK
|
This interface provides common methods for streams.
It can be used from C++ only.
#include <IEmitter.h>
Public Member Functions | |
virtual void | close ()=0 |
Closes the underlying stream. More... | |
virtual void | write (const std::string &str)=0 |
Writes string to output. More... | |
|
pure virtual |
Closes the underlying stream.
If this method is not called, not all data may be written to the output.
Implemented in isys::CStringStream, and isys::CFileStream.
|
pure virtual |
Writes string to output.
Use this method to add custom data to output file. However, take care to keep the file format valid, for example if it is XML file, to use tags consistently.
Implemented in isys::CStringStream, and isys::CFileStream.