Home Hierarchy Members Alphabetical Related Pages

ProtoDeclaration Class Reference
[Base Types]

#include <proto.h>

Inherits DeclaredNodeWithBindings.

Inherited by ExternProtoDeclaration.

Inheritance diagram for ProtoDeclaration:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ProtoDeclaration (const char *nodeTypeId, const char *name="")
virtual bool isSetToDefaultValue (const unsigned int i) const
const char * typeName () const
void setNodes (const MFNode &)
const MFNode & nodes () const
virtual Node * duplicate () const
virtual Node * duplicate (std::map< const Node *, Node * > &) const
virtual bool isExtern () const
virtual bool hasNodes () const

Friends

class ProtoInstance

Constructor & Destructor Documentation

ProtoDeclaration (  const char *  nodeTypeId,
const char *  name = ""
) 
 


Member Function Documentation

Node * duplicate (  std::map< const Node *, Node * > &   )  const [virtual]
 

Implements Node.

Node * duplicate (   )  const [virtual]
 

Returns a deep copy of this node, that is a fully independant node with all children (if any) also copied. This is mainly useful for instanciating protos.

Implements Node.

bool hasNodes (   )  const [inline, virtual]
 

Return true if the Proto declaration is loaded. The only case where it returns false is for an extern proto not loaded.

Reimplemented in ExternProtoDeclaration.

bool isExtern (   )  const [inline, virtual]
 

Reimplemented in ExternProtoDeclaration.

bool isSetToDefaultValue (  const unsigned int  i  )  const [virtual]
 

Implements Node.

const MFNode & nodes (   )  const [inline]
 

void setNodes (  const MFNode &   ) 
 

const char * typeName (   )  const [inline, virtual]
 

Implements Node.


Friends And Related Function Documentation

friend class ProtoInstance [friend]
 


Generated on 24 Feb 2005 with doxygen version 1.3.9.1. Valid HTML 4.0! Valid CSS!