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

#include <ShaderGraph.h>

Public Member Functions

 ShaderGraphEdgeIterator (ShaderOutput *output)
 
 ~ShaderGraphEdgeIterator ()=default
 
bool operator== (const ShaderGraphEdgeIterator &rhs) const
 
bool operator!= (const ShaderGraphEdgeIterator &rhs) const
 
ShaderGraphEdge operator* () const
 Dereference this iterator, returning the current output in the traversal. More...
 
ShaderGraphEdgeIterator & operator++ ()
 
ShaderGraphEdgeIterator & begin ()
 Return a reference to this iterator to begin traversal. More...
 

Static Public Member Functions

static const
ShaderGraphEdgeIterator & 
end ()
 Return the end iterator. More...
 

Detailed Description

Iterator class for traversing edges between nodes in a shader graph.

Definition at line 252 of file ShaderGraph.h.

Constructor & Destructor Documentation

ShaderGraphEdgeIterator::ShaderGraphEdgeIterator ( ShaderOutput *  output)
ShaderGraphEdgeIterator::~ShaderGraphEdgeIterator ( )
default

Member Function Documentation

ShaderGraphEdgeIterator& ShaderGraphEdgeIterator::begin ( void  )
inline

Return a reference to this iterator to begin traversal.

Definition at line 280 of file ShaderGraph.h.

static const ShaderGraphEdgeIterator& ShaderGraphEdgeIterator::end ( )
static

Return the end iterator.

bool ShaderGraphEdgeIterator::operator!= ( const ShaderGraphEdgeIterator &  rhs) const
inline

Definition at line 264 of file ShaderGraph.h.

ShaderGraphEdge ShaderGraphEdgeIterator::operator* ( ) const
inline

Dereference this iterator, returning the current output in the traversal.

Definition at line 270 of file ShaderGraph.h.

ShaderGraphEdgeIterator& ShaderGraphEdgeIterator::operator++ ( )

Iterate to the next edge in the traversal.

Exceptions
ExceptionFoundCycleif a cycle is encountered.
bool ShaderGraphEdgeIterator::operator== ( const ShaderGraphEdgeIterator &  rhs) const
inline

Definition at line 258 of file ShaderGraph.h.


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