K3dTextWriteFile Class Reference

#include <K3dTextWriteFile.h>

Inheritance diagram for K3dTextWriteFile:

K3dFile List of all members.

Public Member Functions

 K3dTextWriteFile ()
 K3dTextWriteFile (const std::string &_rFileName)
 K3dTextWriteFile (const std::string &_rFileName, bool _bAppend)
bool Open (const std::string &_rFileName)
 Open for read text.
bool Open (const std::string &_rFileName, bool _bAppend)
 Open for read text.
int Write (const char *_str)
 Write text file.
int Write (const std::string &_str)
 Write text file.

Detailed Description

Definition at line 38 of file K3dTextWriteFile.h.


Constructor & Destructor Documentation

K3dTextWriteFile::K3dTextWriteFile (  )  [inline]

Definition at line 41 of file K3dTextWriteFile.h.

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

Definition at line 42 of file K3dTextWriteFile.h.

References Open().

K3dTextWriteFile::K3dTextWriteFile ( const std::string &  _rFileName,
bool  _bAppend 
) [inline]

Definition at line 46 of file K3dTextWriteFile.h.

References Open().


Member Function Documentation

bool K3dTextWriteFile::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 53 of file K3dTextWriteFile.h.

References K3dFile::OpenForWriteTextTrunc().

Referenced by K3dTextWriteFile().

bool K3dTextWriteFile::Open ( const std::string &  _rFileName,
bool  _bAppend 
) [inline]

Open for read text.

Parameters:
_rFileName Referenct to file
_bAppend Open for append write?
Return values:
bool True if file correctly opened

Definition at line 61 of file K3dTextWriteFile.h.

References K3dFile::OpenForWriteTextAppend(), and K3dFile::OpenForWriteTextTrunc().

int K3dTextWriteFile::Write ( const char *  _str  )  [inline]

Write text file.

Parameters:
_str String buffer
Return values:
int Total number of readed items
_str File string

Definition at line 76 of file K3dTextWriteFile.h.

References K3dFile::GetFile().

int K3dTextWriteFile::Write ( const std::string &  _str  )  [inline]

Write text file.

Parameters:
_str String buffer
Return values:
int Total number of readed items
_str File string

Definition at line 85 of file K3dTextWriteFile.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