18 #include "pandabase.h" 29 INLINE
EggComment(
const string &node_name,
const string &comment);
30 INLINE EggComment(
const EggComment ©);
35 INLINE EggComment &operator = (
const string &comment);
36 INLINE EggComment &operator = (
const EggComment ©);
38 INLINE
operator const string & ()
const;
42 INLINE
void set_comment(
const string &comment);
43 INLINE
string get_comment()
const;
45 virtual void write(ostream &out,
int indent_level)
const;
56 static void init_type() {
58 register_type(_type_handle,
"EggComment",
59 EggNode::get_class_type());
62 return get_class_type();
64 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
70 #include "eggComment.I"
A base class for things that may be directly added into the egg hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.