HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfTestUtils::Node Class Reference

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

#include <testUtils.h>

Public Member Functions

VDF_API Nodeoperator>> (const _NodeInput &rhs)
 
VDF_API _NodeInput In (const TfToken &inputName, const VdfMask &inputMask)
 
VDF_API _NodeOutput Output (const TfToken &outputName)
 
template<typename T >
NodeSetValue (int index, const T &val)
 
 operator 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

VdfOutput* VdfTestUtils::Node::GetOutput ( ) const
inline

Definition at line 380 of file testUtils.h.

VdfNode* VdfTestUtils::Node::GetVdfNode ( )
inline

Definition at line 376 of file testUtils.h.

const VdfNode* VdfTestUtils::Node::GetVdfNode ( ) const
inline

Definition at line 378 of file testUtils.h.

VDF_API _NodeInput VdfTestUtils::Node::In ( const TfToken inputName,
const VdfMask inputMask 
)

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

VdfTestUtils::Node::operator VdfNode * ( )
inline

Returns a pointer to the underlying VdfNode.

Definition at line 374 of file testUtils.h.

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

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

VDF_API _NodeOutput VdfTestUtils::Node::Output ( const TfToken outputName)

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

template<typename T >
Node& VdfTestUtils::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

friend class _NodeOutput
friend

Definition at line 389 of file testUtils.h.

friend class Network
friend

Definition at line 388 of file testUtils.h.


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