|
|
|
This is a fairly low-level base class--any egg object that has a name.
More...
#include "eggNamedObject.h"
List of all members.
Public Member Functions |
|
| EggNamedObject (const string &name="") |
|
| EggNamedObject (const EggNamedObject ©) |
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
|
EggNamedObject & | operator= (const EggNamedObject ©) |
| void | output (ostream &out) const |
| | Outputs the Namable.
|
| void | write_header (ostream &out, int indent_level, const char *egg_keyword) const |
| | Writes the first line of the egg object, e.g.
|
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.
|
Detailed Description
This is a fairly low-level base class--any egg object that has a name.
Definition at line 29 of file eggNamedObject.h.
Member Function Documentation
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 EggObject.
Reimplemented in EggGroup, EggTexture, EggGroupNode, EggVertexPool, EggNode, EggXfmSAnim, EggData, EggMaterial, EggVertexUV, EggXfmAnimData, EggAnimData, EggTable, EggFilenameNode, EggComment, EggVertexAux, EggAnimPreload, EggCoordinateSystem, EggBin, EggSAnimData, and EggExternalReference.
Definition at line 45 of file eggNamedObject.h.
References EggObject::init_type().
Referenced by EggVertexAux::init_type(), EggVertexUV::init_type(), and EggNode::init_type().
Writes the first line of the egg object, e.g.
"<Group> group_name {" or some such. It automatically enquotes the name if it contains any special characters. egg_keyword is the keyword that begins the line, e.g. "<Group>".
Definition at line 45 of file eggNamedObject.cxx.
References Namable::has_name().
Referenced by EggExternalReference::write(), EggPatch::write(), EggMaterial::write(), EggLine::write(), EggTriangleFan::write(), EggTriangleStrip::write(), EggSAnimData::write(), EggTexture::write(), EggAnimPreload::write(), EggPoint::write(), EggComment::write(), EggTable::write(), EggNurbsCurve::write(), EggXfmAnimData::write(), EggXfmSAnim::write(), EggNurbsSurface::write(), EggVertexPool::write(), and EggGroup::write().
The documentation for this class was generated from the following files:
| | |