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 | |
static FDO_API_COMMON FdoIoTextWriter * | Create (FdoIoStream *stream) |
Constructs a text writer on a stream. | |
static FDO_API_COMMON FdoIoTextWriter * | Create (FdoString *fileName) |
Constructs a text writer on a file. |
Comments or suggestions? Send us feedback. |