#include <K3dReadFile.h>
Inheritance diagram for K3dReaderFile:
Public Member Functions | |
K3dReaderFile () | |
K3dReaderFile (const std::string &_rFileName) | |
bool | Open (const std::string &_rFileName) |
Open file. | |
int | Read (char *_strBuf, size_t _tLen) |
Read file. | |
int | Read (std::string &_rStr) |
Read string. | |
int | Read (char &_rcVal) |
Read char. | |
int | Read (unsigned char &_rucVal) |
Read unsigned char. | |
int | Read (short &_rsVal) |
Read short. | |
int | Read (unsigned short &_rusVal) |
Read unsigned short. | |
int | Read (long &_rlVal) |
Read long. | |
int | Read (unsigned long &_rulVal) |
Read unsigned long. | |
int | Read (size_t &_tVal) |
Read short. | |
int | Read (float &_rfVal) |
Read float. | |
int | Read (double &_rdVal) |
Read double. |
Definition at line 38 of file K3dReadFile.h.
K3dReaderFile::K3dReaderFile | ( | ) | [inline] |
Definition at line 41 of file K3dReadFile.h.
K3dReaderFile::K3dReaderFile | ( | const std::string & | _rFileName | ) | [inline] |
bool K3dReaderFile::Open | ( | const std::string & | _rFileName | ) | [inline] |
Open file.
_rFileName | Reference to string filename |
bool | True if file correctly opened |
Definition at line 49 of file K3dReadFile.h.
References K3dFile::OpenForRead().
Referenced by K3dReaderFile().
int K3dReaderFile::Read | ( | char * | _strBuf, | |
size_t | _tLen | |||
) | [inline] |
Read file.
_strBuf | String buffer | |
_tLen | File length |
int | Total number of readed items | |
_strBuf | File string |
Definition at line 58 of file K3dReadFile.h.
References K3dFile::GetFile(), and K3dFile::Good().
Referenced by Read().
int K3dReaderFile::Read | ( | std::string & | _rStr | ) | [inline] |
Read string.
_rStr | Reference to string |
int | Total number of readed items |
Definition at line 66 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | char & | _rcVal | ) | [inline] |
Read char.
_rcVal | Reference to char |
int | Total number of readed items |
Definition at line 77 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | unsigned char & | _rucVal | ) | [inline] |
Read unsigned char.
_rucVal | Reference to unsigned char |
int | Total number of readed items |
Definition at line 84 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | short & | _rsVal | ) | [inline] |
Read short.
_rsVal | Reference to short |
int | Total number of readed items |
Definition at line 91 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | unsigned short & | _rusVal | ) | [inline] |
Read unsigned short.
_rusVal | Reference to unsigned short |
int | Total number of readed items |
Definition at line 98 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | long & | _rlVal | ) | [inline] |
Read long.
_rlVal | Reference to long |
int | Total number of readed items |
Definition at line 105 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | unsigned long & | _rulVal | ) | [inline] |
Read unsigned long.
_rulVal | Reference to unsigned long |
int | Total number of readed items |
Definition at line 112 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | size_t & | _tVal | ) | [inline] |
Read short.
_tVal | Reference to size_t |
int | Total number of readed items |
Definition at line 119 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | float & | _rfVal | ) | [inline] |
Read float.
_rfVal | Reference to float |
int | Total number of readed items |
Definition at line 126 of file K3dReadFile.h.
References Read().
int K3dReaderFile::Read | ( | double & | _rdVal | ) | [inline] |
Read double.
_rdVal | Reference to float |
int | Total number of readed items |
Definition at line 133 of file K3dReadFile.h.
References Read().