#include <K3dWriteFile.h>
Inheritance diagram for K3dWriterFile:
Public Member Functions | |
K3dWriterFile () | |
K3dWriterFile (const std::string &_rFileName) | |
K3dWriterFile (const std::string &_rFileName, bool _bAppend) | |
bool | Open (const std::string &_rFileName) |
Open file for writing. | |
bool | Open (const std::string &_rFileName, bool _bAppend) |
Open file for writing. | |
int | Write (const char *_strBuf, size_t _tLen) |
Open file for writing. | |
int | Write (const std::string &_str) |
Write string. | |
int | Write (char _cVal) |
Write char. | |
int | Write (unsigned char _ucVal) |
Write unsigned char. | |
int | Write (short _sVal) |
Write short. | |
int | Write (unsigned short _usVal) |
Write unsigned short. | |
int | Write (long _lVal) |
Write long. | |
int | Write (unsigned long _ulVal) |
Write unsigned. | |
int | Write (size_t _tVal) |
Write size_t. | |
int | Write (float _fVal) |
Write float. | |
int | Write (double _dVal) |
Write double. |
Definition at line 39 of file K3dWriteFile.h.
K3dWriterFile::K3dWriterFile | ( | ) | [inline] |
Definition at line 42 of file K3dWriteFile.h.
K3dWriterFile::K3dWriterFile | ( | const std::string & | _rFileName | ) | [inline] |
K3dWriterFile::K3dWriterFile | ( | const std::string & | _rFileName, | |
bool | _bAppend | |||
) | [inline] |
bool K3dWriterFile::Open | ( | const std::string & | _rFileName | ) | [inline] |
Open file for writing.
_rFileName | Reference to file |
Definition at line 53 of file K3dWriteFile.h.
References K3dFile::OpenForWriteTrunc().
Referenced by K3dWriterFile().
bool K3dWriterFile::Open | ( | const std::string & | _rFileName, | |
bool | _bAppend | |||
) | [inline] |
Open file for writing.
_rFileName | Reference to file | |
_bAppend | Open for append write? |
Definition at line 60 of file K3dWriteFile.h.
References K3dFile::OpenForWriteAppend(), and K3dFile::OpenForWriteTrunc().
int K3dWriterFile::Write | ( | const char * | _strBuf, | |
size_t | _tLen | |||
) | [inline] |
Open file for writing.
_strBuf | String buffer | |
_tLen | Total number of writed items |
_strBuf | File string |
Definition at line 75 of file K3dWriteFile.h.
References K3dFile::GetFile(), and K3dFile::Good().
Referenced by Write().
int K3dWriterFile::Write | ( | const std::string & | _str | ) | [inline] |
Write string.
int | Total number of writed items |
Definition at line 82 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | char | _cVal | ) | [inline] |
Write char.
_cVal | Char value |
int | Total number of writed items |
Definition at line 91 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | unsigned char | _ucVal | ) | [inline] |
Write unsigned char.
_ucVal | Unsigned Char value |
int | Total number of writed items |
Definition at line 98 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | short | _sVal | ) | [inline] |
Write short.
_sVal | Short value |
int | Total number of writed items |
Definition at line 105 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | unsigned short | _usVal | ) | [inline] |
Write unsigned short.
_usVal | unsigned short value |
int | Total number of writed items |
Definition at line 112 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | long | _lVal | ) | [inline] |
Write long.
_lVal | long value |
int | Total number of writed items |
Definition at line 119 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | unsigned long | _ulVal | ) | [inline] |
Write unsigned.
_ulVal | unsigned long value |
int | Total number of writed items |
Definition at line 126 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | size_t | _tVal | ) | [inline] |
Write size_t.
_tVal | size_t value |
int | Total number of writed items |
Definition at line 133 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | float | _fVal | ) | [inline] |
Write float.
_fVal | size_t value |
int | Total number of writed items |
Definition at line 140 of file K3dWriteFile.h.
References Write().
int K3dWriterFile::Write | ( | double | _dVal | ) | [inline] |
Write double.
_dVal | double value |
int | Total number of writed items |
Definition at line 147 of file K3dWriteFile.h.
References Write().