|
Enzo
|
One place nodes live, either the root or the inside of a node that holds one. More...
#include <Scope.h>
Public Member Functions | |
| Scope (const Path &path, std::string scopeType) | |
| const Path & | getPath () const |
| Returns the path this scope sits at, which its nodes are children of. | |
| const std::string & | getType () const |
| Returns the kind of nodes this scope holds, such as "geometry". | |
One place nodes live, either the root or the inside of a node that holds one.
A scope is the region a node name has to be unique within and the place a relative path is read from. Nodes are not stored in it. They sit in the nt::Network's store and say which scope they are in through their path, so a scope is what that path names.
Example