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

EggComment Class Reference

#include <eggComment.h>

Inheritance diagram for EggComment:

EggNode EggNamedObject EggObject Namable TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

INLINE EggComment (const string &node_name, const string &comment)
INLINE EggComment (const EggComment &copy)
INLINE EggComment & operator= (const string &comment)
INLINE EggComment & operator= (const EggComment &copy)
INLINE operator const string & () const
INLINE void set_comment (const string &comment)
INLINE string get_comment () const
virtual void write (ostream &out, int indent_level) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Private Attributes

string _comment

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE EggComment::EggComment const string &  node_name,
const string &  comment
 

INLINE EggComment::EggComment const EggComment &  copy  ) 
 


Member Function Documentation

virtual TypeHandle EggComment::force_init_type void   )  [inline, virtual]
 

Reimplemented from EggNode.

Definition at line 70 of file eggComment.h.

References EggNode::get_class_type(), and EggNode::init_type().

TypeHandle EggComment::get_class_type void   )  [inline, static]
 

Reimplemented from EggNode.

Definition at line 59 of file eggComment.h.

Referenced by EggData::pre_write().

INLINE string EggComment::get_comment  )  const
 

Referenced by write().

virtual TypeHandle EggComment::get_type void   )  const [inline, virtual]
 

Reimplemented from EggNode.

Definition at line 67 of file eggComment.h.

References EggNode::get_class_type().

void EggComment::init_type void   )  [inline, static]
 

Reimplemented from EggNode.

Definition at line 62 of file eggComment.h.

References EggNode::get_class_type(), EggNode::init_type(), and register_type().

Referenced by init_libegg().

INLINE EggComment::operator const string &  )  const
 

INLINE EggComment& EggComment::operator= const EggComment &  copy  ) 
 

INLINE EggComment& EggComment::operator= const string &  comment  ) 
 

INLINE void EggComment::set_comment const string &  comment  ) 
 

void EggComment::write ostream &  out,
int  indent_level
const [virtual]
 

Implements EggNode.

Definition at line 35 of file eggComment.cxx.

References enquote_string(), get_comment(), indent(), and EggNamedObject::write_header().


Member Data Documentation

string EggComment::_comment [private]
 

Definition at line 54 of file eggComment.h.

TypeHandle EggComment::_type_handle [static, private]
 

Reimplemented from EggNode.

Definition at line 25 of file eggComment.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:02 2003 for Panda by doxygen1.3