#include <dbcfile.h>
DBCFile::Record::Record |
( |
DBCFile & |
file, |
|
|
unsigned char * |
offset |
|
) |
| |
|
inlineprivate |
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
DBCFile::Record::Record |
( |
DBCFile & |
file, |
|
|
unsigned char * |
offset |
|
) |
| |
|
inlineprivate |
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
float DBCFile::Record::getFloat |
( |
size_t |
field | ) |
const |
|
inline |
59 return *
reinterpret_cast<float*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
float DBCFile::Record::getFloat |
( |
size_t |
field | ) |
const |
|
inline |
59 return *
reinterpret_cast<float*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
int DBCFile::Record::getInt |
( |
size_t |
field | ) |
const |
|
inline |
71 return *
reinterpret_cast<int*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
int DBCFile::Record::getInt |
( |
size_t |
field | ) |
const |
|
inline |
71 return *
reinterpret_cast<int*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
char const* DBCFile::Record::getString |
( |
size_t |
field | ) |
const |
|
inline |
77 size_t stringOffset =
getUInt(field);
unsigned char * _stringTable
Definition: dbcfile.h:145
DBCFile & file
Definition: dbcfile.h:84
size_t _stringSize
Definition: dbcfile.h:143
unsigned int getUInt(size_t field) const
Definition: dbcfile.h:62
size_t _fieldCount
Definition: dbcfile.h:142
char const* DBCFile::Record::getString |
( |
size_t |
field | ) |
const |
|
inline |
77 size_t stringOffset =
getUInt(field);
unsigned char * _stringTable
Definition: dbcfile.h:145
DBCFile & file
Definition: dbcfile.h:84
size_t _stringSize
Definition: dbcfile.h:143
unsigned int getUInt(size_t field) const
Definition: dbcfile.h:62
size_t _fieldCount
Definition: dbcfile.h:142
unsigned int DBCFile::Record::getUInt |
( |
size_t |
field | ) |
const |
|
inline |
65 return *
reinterpret_cast<unsigned int*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
unsigned int DBCFile::Record::getUInt |
( |
size_t |
field | ) |
const |
|
inline |
65 return *
reinterpret_cast<unsigned int*
>(
offset + field * 4);
unsigned char * offset
Definition: dbcfile.h:85
DBCFile & file
Definition: dbcfile.h:84
size_t _fieldCount
Definition: dbcfile.h:142
unsigned char * DBCFile::Record::offset |
|
private |
The documentation for this class was generated from the following file: