Panda3D
Public Member Functions | Static Public Member Functions
EggExternalReference Class Reference

Defines a reference to another egg file which should be inserted at this point. More...

#include "eggExternalReference.h"

Inheritance diagram for EggExternalReference:
EggFilenameNode EggNode EggNamedObject EggObject Namable TypedReferenceCount MemoryBase TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 EggExternalReference (const string &node_name, const string &filename)
 EggExternalReference (const EggExternalReference &copy)
virtual TypeHandle force_init_type ()
virtual string get_default_extension () const
 Returns the default extension for this filename type.
virtual TypeHandle get_type () const
EggExternalReferenceoperator= (const EggExternalReference &copy)
virtual void write (ostream &out, int indent_level) const
 Writes the reference 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.

Detailed Description

Defines a reference to another egg file which should be inserted at this point.

Definition at line 27 of file eggExternalReference.h.


Member Function Documentation

string EggExternalReference::get_default_extension ( ) const [virtual]

Returns the default extension for this filename type.

Reimplemented from EggFilenameNode.

Definition at line 74 of file eggExternalReference.cxx.

static void EggExternalReference::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 EggFilenameNode.

Definition at line 42 of file eggExternalReference.h.

References EggFilenameNode::init_type().

void EggExternalReference::write ( ostream &  out,
int  indent_level 
) const [virtual]

Writes the reference to the indicated output stream in Egg format.

Implements EggNode.

Definition at line 62 of file eggExternalReference.cxx.

References EggFilenameNode::get_filename(), and EggNamedObject::write_header().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations