Go to the documentation of this file.
17 TypeHandle TypedWritableReferenceCount::_type_handle;
40 decode_from_bam_stream(vector_uchar data,
BamReader *reader) {
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
PT(TypedWritableReferenceCount) TypedWritableReferenceCount
Reads the bytes created by a previous call to encode_to_bam_stream(), and extracts and returns the si...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
TypeHandle is the identifier used to differentiate C++ class types.
virtual ReferenceCount * as_reference_count()
Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type.
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
static bool decode_raw_from_bam_stream(TypedWritable *&ptr, ReferenceCount *&ref_ptr, vector_uchar data, BamReader *reader=nullptr)
Reads the bytes created by a previous call to encode_to_bam_stream(), and extracts the single object ...