Panda3D
|
Public Member Functions | |
FltUnsupportedRecord (FltHeader *header) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
virtual void | output (ostream &out) const |
Writes a quick one-line description of the bead, but not its children. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Protected Member Functions | |
virtual bool | build_record (FltRecordWriter &writer) const |
Fills up the current record on the FltRecordWriter with data for this record, but does not advance the writer. | |
virtual bool | extract_record (FltRecordReader &reader) |
Fills in the information in this bead based on the information given in the indicated datagram, whose opcode has already been read. | |
Friends | |
class | FltHeader |
Definition at line 28 of file fltUnsupportedRecord.h.
bool FltUnsupportedRecord::build_record | ( | FltRecordWriter & | writer | ) | const [protected, virtual] |
Fills up the current record on the FltRecordWriter with data for this record, but does not advance the writer.
Returns true on success, false if there is some error.
Reimplemented from FltRecord.
Definition at line 69 of file fltUnsupportedRecord.cxx.
References FltRecordWriter::set_datagram(), and FltRecordWriter::set_opcode().
bool FltUnsupportedRecord::extract_record | ( | FltRecordReader & | reader | ) | [protected, virtual] |
Fills in the information in this bead based on the information given in the indicated datagram, whose opcode has already been read.
Returns true on success, false if the datagram is invalid.
Reimplemented from FltRecord.
Definition at line 53 of file fltUnsupportedRecord.cxx.
References FltRecordReader::get_datagram(), and FltRecordReader::get_opcode().
static void FltUnsupportedRecord::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from FltRecord.
Definition at line 50 of file fltUnsupportedRecord.h.
void FltUnsupportedRecord::output | ( | ostream & | out | ) | const [virtual] |
Writes a quick one-line description of the bead, but not its children.
This is a human-readable description, primarily for debugging; to write a flt file, use FltHeader::write_flt().
Reimplemented from FltRecord.
Definition at line 40 of file fltUnsupportedRecord.cxx.