26 INLINE
explicit EggComment(
const std::string &node_name,
const std::string &comment);
32 INLINE
EggComment &operator = (
const std::string &comment);
35 INLINE
operator const std::string & ()
const;
39 INLINE
void set_comment(
const std::string &comment);
40 INLINE std::string get_comment()
const;
42 virtual void write(std::ostream &out,
int indent_level)
const;
53 static void init_type() {
56 EggNode::get_class_type());
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things that may be directly added into the egg hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.