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;
48 return _catalog->get_num_entries();
58 return _catalog->get_entry(n);
71 return _catalog->find_entry_by_name(name);
84 return _catalog->find_entry_by_field(field);
94 return _entries.size();
104 nassertr(n >= 0 && n < (
int)_entries.size(), _entries[0]);
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.
int get_num_entries() const
Returns the number of entries in the catalog.
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_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_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...
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...
This defines the internal interface for packing values into a DCField.