A GNodeHandle references a g-node within a node system by a path. It also caches the current GNodeData pointer for the path to speed up data access.
Public Member Functions | |
GNodeHandle ()=default | |
MAXON_OPERATOR_EQUALITY_HASHCODE (GNodeHandle, _path) | |
operator Bool () const | |
NODE_KIND | GetKind () const |
const NodePath & | GetPath () const |
const GNodeDataPtr & | GetData () const |
void | Reset () |
String | ToString (const FormatStatement *fs=nullptr) const |
Static Public Member Functions | |
static MAXON_ATTRIBUTE_FORCE_INLINE const GNodeHandle & | NullValue () |
Protected Member Functions | |
GNodeHandle (const NodePath &path, const GNodeDataPtr &data, UInt stamp) | |
GNodeHandle (NodePath &&path, const GNodeDataPtr &data, UInt stamp) | |
Protected Attributes | |
NodePath | _path |
GNodeDataPtr | _data |
UInt | _stamp |
Friends | |
class | NodeSystemImpl |
class | CompiledNodeImpl |
|
default |
|
protected |
|
protected |
MAXON_OPERATOR_EQUALITY_HASHCODE | ( | GNodeHandle | , |
_path | |||
) |
|
explicit |
NODE_KIND GetKind | ( | ) | const |
const NodePath& GetPath | ( | ) | const |
const GNodeDataPtr& GetData | ( | void | ) | const |
void Reset | ( | void | ) |
String ToString | ( | const FormatStatement * | fs = nullptr | ) | const |
|
static |
|
friend |
|
friend |
|
protected |
|
mutableprotected |
|
mutableprotected |