This bead appears in the hierarchy to refer to a FltInstanceDefinition node defined elsewhere.
More...
#include "fltInstanceRef.h"
List of all members.
Public Member Functions |
|
| FltInstanceRef (FltHeader *header) |
|
virtual TypeHandle | force_init_type () |
| FltInstanceDefinition * | get_instance () const |
| | Returns the instance subtree referenced by this node, or NULL if the reference is invalid.
|
|
virtual TypeHandle | get_type () const |
| virtual void | write (ostream &out, int indent_level=0) const |
| | Writes a multiple-line description of the record and all of 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.
|
Public Attributes |
|
int | _instance_index |
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.
|
| virtual FltError | write_record_and_children (FltRecordWriter &writer) const |
| | Writes this record out to the flt file, along with all of its ancillary records and children records.
|
Detailed Description
This bead appears in the hierarchy to refer to a FltInstanceDefinition node defined elsewhere.
It indicates that the subtree beginning at the FltInstanceDefinition should be considered to be instanced here.
Definition at line 32 of file fltInstanceRef.h.
Member Function Documentation
| bool FltInstanceRef::build_record |
( |
FltRecordWriter & |
writer | ) |
const [protected, virtual] |
| bool FltInstanceRef::extract_record |
( |
FltRecordReader & |
reader | ) |
[protected, virtual] |
| static void FltInstanceRef::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 FltBead.
Definition at line 55 of file fltInstanceRef.h.
| void FltInstanceRef::write |
( |
ostream & |
out, |
|
|
int |
indent_level = 0 |
|
) |
| const [virtual] |
| FltError FltInstanceRef::write_record_and_children |
( |
FltRecordWriter & |
writer | ) |
const [protected, virtual] |
The documentation for this class was generated from the following files: