24 nassertr(n >= 0 && n < (
int)_live_entries.size(), 0);
25 return _live_entries[n]._begin;
37 nassertr(n >= 0 && n < (
int)_live_entries.size(), 0);
38 return _live_entries[n]._end;
94 return _entries.size();
104 nassertr(n >= 0 && n < (
int)_entries.size(), _entries[0]);
int find_entry_by_name(const string &name) const
Returns the index number of the entry with the indicated name, or -1 if no entry has the indicated na...
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 f...
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 f...
int get_num_entries() const
Returns the number of entries in the catalog.
int get_num_entries() const
Returns the number of entries in the catalog.
size_t get_end(int n) const
Returns the end of the indicated field (the byte position of the first following field) within the li...
const Entry & get_entry(int n) const
Returns the nth entry in the catalog.
size_t get_begin(int n) const
Returns the beginning of the indicated field within the live data.
int find_entry_by_name(const string &name) const
Returns the index number of the entry with the indicated name, or -1 if no entry has the indicated na...
const Entry & get_entry(int n) const
Returns the nth entry in the catalog.
This defines the internal interface for packing values into a DCField.