FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoIoTextReader Class Reference

#include <TextReader.h>

Inherits FdoDisposable.

Inheritance diagram for FdoIoTextReader:

[legend]
List of all members.

Detailed Description

FdoIoTextReader reads from a binary stream containing UTF8 characters. It formats these UTF8 characters into Unicode wide characters. This class is not yet complete, since the Read functions still have to be added.

Definition at line 29 of file TextReader.h.


Public Member Functions

FDO_API_COMMON FdoIoStreamGetStream ()
 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.

Static Public Member Functions

FDO_API_COMMON FdoIoTextReaderCreate (FdoIoStream *stream)
 Constructs a text reader on a stream.
FDO_API_COMMON FdoIoTextReaderCreate (FdoString *fileName)
 Constructs a text reader on a file.

Protected Member Functions

 FdoIoTextReader (FdoIoStream *stream)
 FdoIoTextReader ()
 DOXYGEN-IGNORE
virtual ~FdoIoTextReader (void)

Constructor & Destructor Documentation

FdoIoTextReader::FdoIoTextReader  )  [inline, protected]
 

DOXYGEN-IGNORE

Definition at line 67 of file TextReader.h.

FdoIoTextReader::FdoIoTextReader FdoIoStream stream  )  [protected]
 

virtual FdoIoTextReader::~FdoIoTextReader void   )  [protected, virtual]
 


Member Function Documentation

FDO_API_COMMON FdoIoTextReader* FdoIoTextReader::Create FdoIoStream stream  )  [static]
 

Constructs a text reader on a stream.

Parameters:
stream Input the stream to read.
Returns:
Returns FdoIoTextReader

FDO_API_COMMON FdoIoTextReader* FdoIoTextReader::Create FdoString fileName  )  [static]
 

Constructs a text reader on a file.

Parameters:
fileName Input name of the file to read.
Returns:
Returns FdoIoTextReader

FDO_API_COMMON FdoIoStream* FdoIoTextReader::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.

Returns:
Returns the underlying stream.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.