FDO API Reference | Feature Data Objects |
#include <TextWriter.h>
Inherits FdoDisposable.
Inheritance diagram for FdoIoTextWriter:
Definition at line 27 of file TextWriter.h.
Public Member Functions | |
FDO_API_COMMON FdoIoStream * | GetStream () |
Gets the underlying stream. If a stream was passed to this object then this stream is returned. Otherwise, an auto-generated stream (wrapped around the file name that was passed to this object) is returned. | |
FDO_API_COMMON void | Write (FdoString *string) |
Writes to this text writer. The text is written in UTF8 format. | |
FDO_API_COMMON void | WriteLine (FdoString *string) |
Same as Write(), except that a carriage return (n) is appended to the text. | |
Static Public Member Functions | |
FDO_API_COMMON FdoIoTextWriter * | Create (FdoIoStream *stream) |
Constructs a text writer on a stream. | |
FDO_API_COMMON FdoIoTextWriter * | Create (FdoString *fileName) |
Constructs a text writer on a file. | |
Protected Member Functions | |
FdoIoTextWriter (FdoIoStream *stream) | |
FdoIoTextWriter () | |
DOXYGEN-IGNORE | |
virtual | ~FdoIoTextWriter (void) |
|
DOXYGEN-IGNORE
Definition at line 85 of file TextWriter.h. |
|
|
|
|
|
Constructs a text writer on a stream.
|
|
Constructs a text writer on a file.
|
|
Gets the underlying stream. If a stream was passed to this object then this stream is returned. Otherwise, an auto-generated stream (wrapped around the file name that was passed to this object) is returned.
|
|
Writes to this text writer. The text is written in UTF8 format.
|
|
Same as Write(), except that a carriage return (n) is appended to the text.
|
Comments or suggestions? Send us feedback. |