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

Type Class Reference

Class defining an artificial data structure storing the derivation tree. More...

List of all members.

Public Member Functions

Static Public Member Functions

Static Public Attributes

Friends


Detailed Description

Class defining an artificial data structure storing the derivation tree.

It is based upon singleton for tag. It means that it exists only one instance of Type of tag name "Cylinder".

Definition at line 19 of file Type.h.


Member Function Documentation

MFType getChildList  )  const [inline]
 

Gets the list of the children.

Definition at line 44 of file Type.h.

Component* getComponent  )  const [inline]
 

Gets the component.

Definition at line 46 of file Type.h.

int getId  )  const [inline]
 

Return the id of the node.

Definition at line 40 of file Type.h.

SFString getName  )  const [inline]
 

Returns the name of the node.

Definition at line 38 of file Type.h.

Referenced by X3DAbstractNode::getTypeName().

Type* getParent  )  const [inline]
 

Gets the parent.

Definition at line 42 of file Type.h.

Type* getTypeOfId int  id  )  [static]
 

Gets the Type of id id.

Type* getTypeOfName const SFString name  )  [static]
 

Gets the Type of name name.

void printDerivationTree  )  [static]
 

Prints the current derivation tree.

void recomputeIds  )  [static]
 

Recomputes the id and changes all the nodeProxy array.(Not yet implemented).


Friends And Related Function Documentation

friend class NodeCreationProxy [friend]
 

Definition at line 21 of file Type.h.

friend class NodeVisitingProxy [friend]
 

Definition at line 23 of file Type.h.

friend class NodeWalkingProxy [friend]
 

Definition at line 22 of file Type.h.

friend class X3DAbstractNode [friend]
 

Definition at line 27 of file Type.h.

friend class X3DComponentCreator [friend]
 

Definition at line 24 of file Type.h.

friend class X3DComponentVisitor [friend]
 

Definition at line 26 of file Type.h.

friend class X3DComponentWalker [friend]
 

Definition at line 25 of file Type.h.


Member Data Documentation

int erc [static]
 

Definition at line 50 of file Type.h.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:16 2003 for X3DToolKit by doxygen1.3