K3dTextReadFile Class Reference

#include <K3dTextReadFile.h>

Inheritance diagram for K3dTextReadFile:

K3dFile List of all members.

Public Member Functions

 K3dTextReadFile ()
 K3dTextReadFile (const std::string &_rFileName)
bool Open (const std::string &_rFileName)
 Open for read text.
int Read (char *_strBuffer, size_t _tLen)
 Read text file.
int Read (std::string &_rStr, size_t _tLen)
 Read text file.

Detailed Description

Definition at line 39 of file K3dTextReadFile.h.


Constructor & Destructor Documentation

K3dTextReadFile::K3dTextReadFile (  )  [inline]

Definition at line 43 of file K3dTextReadFile.h.

K3dTextReadFile::K3dTextReadFile ( const std::string &  _rFileName  )  [inline]

Definition at line 44 of file K3dTextReadFile.h.

References Open().


Member Function Documentation

bool K3dTextReadFile::Open ( const std::string &  _rFileName  )  [inline]

Open for read text.

Parameters:
_rFileName Referenct to file
Return values:
bool True if file correctly opened

Definition at line 51 of file K3dTextReadFile.h.

References K3dFile::OpenForReadText().

Referenced by K3dTextReadFile().

int K3dTextReadFile::Read ( char *  _strBuffer,
size_t  _tLen 
) [inline]

Read text file.

Parameters:
_strBuffer String buffer
_tLen File length
Return values:
int Total number of readed items
_strBuffer File string

Definition at line 60 of file K3dTextReadFile.h.

References K3dFile::GetFile().

int K3dTextReadFile::Read ( std::string &  _rStr,
size_t  _tLen 
) [inline]

Read text file.

Parameters:
_rStr String buffer
_tLen File length
Return values:
int Total number of readed items
_rStr File string

Definition at line 69 of file K3dTextReadFile.h.

References K3dFile::GetFile().


The documentation for this class was generated from the following file:
Generated on Thu Aug 16 23:53:34 2007 for K3dEngine by  doxygen 1.5.0