XdkWrl: ProtoDeclaration Class Reference

Home | Hierarchy | Members | Alphabetical | Related Pages

# ProtoDeclaration Class Reference
[Base Types]

`#include <proto.h>`

Inherits DeclaredNodeWithBindings.

Inherited by ExternProtoDeclaration.

List of all members.

## Public Member Functions
| ProtoDeclaration (const char *nodeTypeId, const char *name="")
virtual bool | isSetToDefaultValue (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

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

Implements Node.

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

Implements Node.

void setNodes | ( | const MFNode & |  | ) |

const MFNode & nodes | ( |  | ) | const`[inline]`

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.

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

Implements Node.

bool isExtern | ( |  | ) | const`[inline, virtual]`

Reimplemented in ExternProtoDeclaration.

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.

## Friends And Related Function Documentation

friend class ProtoInstance`[friend]`

Generated on 5 Jan 2007 with version 1.5.1. |