TrinityCore
Loading...
Searching...
No Matches
DBCFile::Record Class Reference

#include <dbcfile.h>

Public Member Functions

float getFloat (size_t field) const
 
unsigned int getUInt (size_t field) const
 
int getInt (size_t field) const
 
char const * getString (size_t field) const
 
Recordoperator= (Record const &r)
 
float getFloat (size_t field) const
 
unsigned int getUInt (size_t field) const
 
int getInt (size_t field) const
 
unsigned char getByte (size_t ofs) const
 
char const * getString (size_t field) const
 

Private Member Functions

 Record (DBCFile &file, unsigned char *offset)
 
Recordoperator= (Record const &right)
 
 Record (DBCFile &file, unsigned char *offset)
 

Private Attributes

DBCFilefile
 
unsigned char * offset
 

Friends

class DBCFile
 
class DBCFile::Iterator
 
class Iterator
 

Detailed Description

Definition at line 52 of file dbcfile.h.

Constructor & Destructor Documentation

◆ Record() [1/2]

DBCFile::Record::Record ( DBCFile file,
unsigned char *  offset 
)
inlineprivate

Definition at line 78 of file dbcfile.h.

◆ Record() [2/2]

DBCFile::Record::Record ( DBCFile file,
unsigned char *  offset 
)
inlineprivate

Definition at line 97 of file dbcfile.h.

Member Function Documentation

◆ getByte()

unsigned char DBCFile::Record::getByte ( size_t  ofs) const
inline

Definition at line 82 of file dbcfile.h.

◆ getFloat() [1/2]

float DBCFile::Record::getFloat ( size_t  field) const
inline

Definition at line 55 of file dbcfile.h.

◆ getFloat() [2/2]

float DBCFile::Record::getFloat ( size_t  field) const
inline

Definition at line 67 of file dbcfile.h.

◆ getInt() [1/2]

int DBCFile::Record::getInt ( size_t  field) const
inline

Definition at line 65 of file dbcfile.h.

◆ getInt() [2/2]

int DBCFile::Record::getInt ( size_t  field) const
inline

Definition at line 77 of file dbcfile.h.

◆ getString() [1/2]

char const * DBCFile::Record::getString ( size_t  field) const
inline

Definition at line 70 of file dbcfile.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getString() [2/2]

char const * DBCFile::Record::getString ( size_t  field) const
inline

Definition at line 87 of file dbcfile.h.

+ Here is the call graph for this function:

◆ getUInt() [1/2]

unsigned int DBCFile::Record::getUInt ( size_t  field) const
inline

Definition at line 60 of file dbcfile.h.

+ Here is the caller graph for this function:

◆ getUInt() [2/2]

unsigned int DBCFile::Record::getUInt ( size_t  field) const
inline

Definition at line 72 of file dbcfile.h.

◆ operator=() [1/2]

Record & DBCFile::Record::operator= ( Record const &  r)
inline

Definition at line 61 of file dbcfile.h.

◆ operator=() [2/2]

Record & DBCFile::Record::operator= ( Record const &  right)
private

Friends And Related Symbol Documentation

◆ DBCFile

DBCFile
friend

Definition at line 82 of file dbcfile.h.

◆ DBCFile::Iterator

friend class DBCFile::Iterator
friend

Definition at line 83 of file dbcfile.h.

◆ Iterator

friend class Iterator
friend

Definition at line 102 of file dbcfile.h.

Member Data Documentation

◆ file

DBCFile & DBCFile::Record::file
private

Definition at line 79 of file dbcfile.h.

◆ offset

unsigned char * DBCFile::Record::offset
private

Definition at line 80 of file dbcfile.h.


The documentation for this class was generated from the following files: