|
HDK
|
#include <variableExpressionAST.h>
Inheritance diagram for SdfVariableExpressionASTNodes::Node:Public Member Functions | |
| virtual SDF_API | ~Node () |
| SDF_API std::unique_ptr< Node > | Clone () const |
| SDF_API SdfVariableExpression | GetExpression () const |
| SDF_API SdfVariableExpression::Builder | GetExpressionBuilder () const |
Node Casts | |
Return a pointer to this node as the specified type or nullptr if this node does not represent that type. using namespace SdfVariableExpressionASTNodes;
if (fnNode) { /* node represents a function */ }
| |
| template<class T > | |
| T * | As () |
| template<class T > | |
| const T * | As () const |
Protected Member Functions | |
| Node ()=default | |
| virtual Node * | _Clone () const =0 |
| virtual SdfVariableExpression::Builder | _GetExpressionBuilder () const =0 |
Base class for nodes in the SdfVariableExpression abstract syntax tree.
Definition at line 26 of file variableExpressionAST.h.
|
virtual |
|
protecteddefault |
|
protectedpure virtual |
|
protectedpure virtual |
|
inline |
Definition at line 55 of file variableExpressionAST.h.
|
inline |
Definition at line 62 of file variableExpressionAST.h.
| SDF_API SdfVariableExpression SdfVariableExpressionASTNodes::Node::GetExpression | ( | ) | const |
Return SdfVariableExpression for this node.
| SDF_API SdfVariableExpression::Builder SdfVariableExpressionASTNodes::Node::GetExpressionBuilder | ( | ) | const |
Return SdfVariableExpression::Builder for this node. This can be used when creating expressions using the various SdfVariableExpression API for building expressions without incurring extra overhead from parsing into an SdfVariableExpression.