Panda3D
|
Public Member Functions | |
int | find_entry_by_field (const DCPackerInterface *field) const |
Returns the index number of the entry with the indicated field, or -1 if no entry has the indicated field. | |
int | find_entry_by_name (const std::string &name) const |
Returns the index number of the entry with the indicated name, or -1 if no entry has the indicated name. | |
size_t | get_begin (int n) const |
Returns the beginning of the indicated field within the live data. | |
size_t | get_end (int n) const |
Returns the end of the indicated field (the byte position of the first following field) within the live data. | |
const Entry & | get_entry (int n) const |
Returns the nth entry in the catalog. | |
int | get_num_entries () const |
Returns the number of entries in the catalog. | |
Friends | |
class | DCPackerCatalog |
Definition at line 54 of file dcPackerCatalog.h.
|
inline |
Returns the index number of the entry with the indicated field, or -1 if no entry has the indicated field.
The return value is suitable for passing to get_entry().
Definition at line 64 of file dcPackerCatalog.I.
|
inline |
Returns the index number of the entry with the indicated name, or -1 if no entry has the indicated name.
The return value is suitable for passing to get_entry().
Definition at line 54 of file dcPackerCatalog.I.
Referenced by DCPacker::seek().
|
inline |
Returns the beginning of the indicated field within the live data.
Definition at line 17 of file dcPackerCatalog.I.
Referenced by DCPacker::seek().
|
inline |
Returns the end of the indicated field (the byte position of the first following field) within the live data.
Definition at line 27 of file dcPackerCatalog.I.
Referenced by DCPacker::seek().
|
inline |
Returns the nth entry in the catalog.
Definition at line 44 of file dcPackerCatalog.I.
Referenced by DCPacker::seek().
|
inline |
Returns the number of entries in the catalog.
Definition at line 36 of file dcPackerCatalog.I.
|
friend |
Definition at line 69 of file dcPackerCatalog.h.