Loading...
Searching...
No Matches
Node Class Reference

This class is a wrapper around a VdfNode. More...

#include <testUtils.h>

Public Member Functions

VDF_API Nodeoperator>> (const _NodeInput &rhs)
 Operator used to connect the default output of this node to the input described by rhs.
 
VDF_API _NodeInput In (const TfToken &inputName, const VdfMask &inputMask)
 Returns an input to this node that can be connected to an output.
 
VDF_API _NodeOutput Output (const TfToken &outputName)
 Returns an output to this node that can be connected to an input.
 
template<typename T >
NodeSetValue (int index, const T &val)
 Set a value on this node.
 
 operator VdfNode * ()
 Returns a pointer to the underlying VdfNode.
 
VdfNodeGetVdfNode ()
 
const VdfNodeGetVdfNode () const
 
VdfOutputGetOutput () const
 

Friends

class Network
 
class _NodeOutput
 

Detailed Description

This class is a wrapper around a VdfNode.

Definition at line 316 of file testUtils.h.

Member Function Documentation

◆ GetOutput()

VdfOutput * GetOutput ( ) const
inline

Definition at line 380 of file testUtils.h.

◆ GetVdfNode() [1/2]

VdfNode * GetVdfNode ( )
inline

Definition at line 376 of file testUtils.h.

◆ GetVdfNode() [2/2]

const VdfNode * GetVdfNode ( ) const
inline

Definition at line 378 of file testUtils.h.

◆ In()

VDF_API _NodeInput In ( const TfToken inputName,
const VdfMask inputMask 
)

Returns an input to this node that can be connected to an output.

◆ operator VdfNode *()

operator VdfNode * ( )
inline

Returns a pointer to the underlying VdfNode.

Definition at line 374 of file testUtils.h.

◆ operator>>()

VDF_API Node & operator>> ( const _NodeInput &  rhs)

Operator used to connect the default output of this node to the input described by rhs.

◆ Output()

VDF_API _NodeOutput Output ( const TfToken outputName)

Returns an output to this node that can be connected to an input.

◆ SetValue()

Node & SetValue ( int  index,
const T &  val 
)
inline

Set a value on this node.

Assumes it is an input node.

Note: you'll get a crash if this node isn't an input vector.

Definition at line 367 of file testUtils.h.

Friends And Related Function Documentation

◆ _NodeOutput

friend class _NodeOutput
friend

Definition at line 389 of file testUtils.h.

◆ Network

friend class Network
friend

Definition at line 388 of file testUtils.h.


The documentation for this class was generated from the following file: