Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Public Methods | |
Scope (const std::string &id, const ScopePtr &scope=ScopePtr()) | |
Constructor. | |
virtual | ~Scope () |
Destructor. | |
void | addNodeType (const NodeTypePtr &nodeType) |
Add a node type. | |
const NodeTypePtr | findType (const std::string &name) const |
Find a node type, given a type name. Returns NULL if type is not defined. | |
const NodeTypePtr | firstType () const |
Node * | findNode (const std::string &name) const |
Public Attributes | |
const std::string | id |
const ScopePtr | parent |
Private Methods | |
Scope (const Scope &) | |
Scope & | operator= (const Scope &) |
Private Attributes | |
std::list< NodeTypePtr > | nodeTypeList |
std::map< std::string, Node * > | namedNodeMap |
Friends | |
class | Node |
PROTO definitions add node types to the namespace. PROTO implementations are a separate node type namespace, and require that any nested PROTOs NOT be available outside the PROTO implementation. PROTOs defined outside the current namespace are available.
|
Constructor.
|
|
Destructor.
|
|
Add a node type. Print an error message if the argument type is already defined.
|
|
Find a node type, given a type name. Returns NULL if type is not defined.
|