Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GeomNode::CData Class Reference

Inheritance diagram for GeomNode::CData:

CycleData List of all members.

Public Member Functions

 CData ()
 CData (const CData &copy)
virtual CycleDatamake_copy () const
virtual void write_datagram (BamWriter *manager, Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file.

virtual int complete_pointers (TypedWritable **plist, BamReader *manager)
 Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().

virtual void fillin (DatagramIterator &scan, BamReader *manager)
 This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new GeomNode.


Public Attributes

Geoms _geoms

Constructor & Destructor Documentation

GeomNode::CData::CData  )  [inline]
 

Definition at line 45 of file geomNode.I.

References INLINE.

Referenced by CData().

GeomNode::CData::CData const CData &  copy  ) 
 

Definition at line 42 of file geomNode.cxx.

References CData().


Member Function Documentation

int GeomNode::CData::complete_pointers TypedWritable **  plist,
BamReader manager
[virtual]
 

Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().

Returns the number of pointers processed.

Reimplemented from CycleData.

Definition at line 96 of file geomNode.cxx.

References _geoms, DatagramIterator::get_uint16(), NULL, and BamReader::read_pointer().

void GeomNode::CData::fillin DatagramIterator scan,
BamReader manager
[virtual]
 

This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new GeomNode.

Reimplemented from CycleData.

Definition at line 123 of file geomNode.cxx.

References GeomNode::_cycler.

CycleData * GeomNode::CData::make_copy void   )  const [virtual]
 

Implements CycleData.

Definition at line 55 of file geomNode.cxx.

References GeomNode::GeomEntry::_geom, _geoms, GeomNode::GeomEntry::_state, Datagram::add_uint16(), nassertv, PN_uint16, and BamWriter::write_pointer().

void GeomNode::CData::write_datagram BamWriter manager,
Datagram dg
const [virtual]
 

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented from CycleData.

Definition at line 70 of file geomNode.cxx.


Member Data Documentation

Geoms GeomNode::CData::_geoms
 

Definition at line 107 of file geomNode.h.

Referenced by complete_pointers(), and make_copy().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:50:54 2003 for Panda by doxygen1.3