XdkWrl: ProtoInstance Class Reference

Home | Hierarchy | Members | Alphabetical | Related Pages

# ProtoInstance Class Reference
[Base Types]

`#include <proto.h>`

Inherits DeclaredNodeWithBindings.

List of all members.

## Public Member Functions
| ProtoInstance (const ProtoDeclaration *d, const char *name="")
const char * | typeName () const
virtual bool | isSetToDefaultValue (unsigned int i) const
const ProtoDeclaration * | declaration () const
virtual Node * | duplicate () const
virtual Node * | duplicate (std::map< const Node *, Node * > &) const
const MFNode & | nodes () const

## Constructor & Destructor Documentation

ProtoInstance | ( | const ProtoDeclaration * | d,
|  | const char * | name = `""` |
| ) |  |  |

## Member Function Documentation

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

Implements Node.

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

Implements Node.

const ProtoDeclaration * declaration | ( |  | ) | 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.

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

Generated on 5 Jan 2007 with version 1.5.1. |