Panda3D
|
A comment that appears in an egg file within a <Comment> entry. More...
#include "eggComment.h"
Public Member Functions | |
EggComment (const string &node_name, const string &comment) | |
EggComment (const EggComment ©) | |
virtual TypeHandle | force_init_type () |
string | get_comment () const |
virtual TypeHandle | get_type () const |
operator const string & () const | |
EggComment & | operator= (const string &comment) |
EggComment & | operator= (const EggComment ©) |
void | set_comment (const string &comment) |
virtual void | write (ostream &out, int indent_level) const |
Writes the comment definition to the indicated output stream in Egg format. | |
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. |
A comment that appears in an egg file within a <Comment> entry.
Definition at line 27 of file eggComment.h.
static void EggComment::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 EggNode.
Definition at line 56 of file eggComment.h.
References EggNode::init_type().
void EggComment::write | ( | ostream & | out, |
int | indent_level | ||
) | const [virtual] |
Writes the comment definition to the indicated output stream in Egg format.
Implements EggNode.
Definition at line 31 of file eggComment.cxx.
References EggNamedObject::write_header().