Home Hierarchy Members Alphabetical Related Pages

Script Class Reference
[Base Types]

#include <script.h>

Inherits DeclaredNode.

Inheritance diagram for Script:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Script (const char *name="")
virtual ~Script ()
virtual FieldHandle field (const std::string &n)
virtual unsigned int nbFields () const
virtual FieldHandle field (const unsigned int i)
virtual bool isSetToDefaultValue (const unsigned int i) const
const char * typeName () const
virtual Nodeduplicate () const
virtual Nodeduplicate (std::map< const Node *, Node * > &) const
virtual bool isDeclaredField (const std::string &n) const
virtual bool isDeclaredField (unsigned int i) const

Public Attributes

MFString url
SFBool directOutput
SFBool mustEvaluate

Constructor & Destructor Documentation

Script const char *  name = ""  ) 
 

virtual ~Script  )  [inline, virtual]
 


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.

Node::FieldHandle field const unsigned int  n  )  [virtual]
 

Return a handle on the ith field of the node or a "unknown" typed handle if there is no such node. See nbFields() to find the number of fields.

Reimplemented from DeclaredNode.

Node::FieldHandle field const std::string &  n  )  [virtual]
 

Return a handle on the field named n of the node or a "unknown" typed handle if there is no such node.

Reimplemented from DeclaredNode.

bool isDeclaredField unsigned int  i  )  const [virtual]
 

Reimplemented from DeclaredNode.

bool isDeclaredField const std::string &  n  )  const [virtual]
 

Reimplemented from DeclaredNode.

bool isSetToDefaultValue const unsigned int  i  )  const [virtual]
 

Implements Node.

unsigned int nbFields  )  const [virtual]
 

Return the number of fields (exposed or not) of the node type. Each field has a unique name and an unique number associated, which allows to retrieve the field value either by its name or a number (for sequential traversal of all fields for example). Each node specifies in its documentation the relation of names and numbers.

Reimplemented from DeclaredNode.

const char * typeName  )  const [inline, virtual]
 

Implements Node.


Member Data Documentation

SFBool directOutput
 

SFBool mustEvaluate
 

MFString url
 


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