#include <MEvaluationNodeIterator.h>
Provides access to the Evaluation Manager node dirty plug list.
If you need to access the list of dirty plugs in an MEvaluationNode node then use the internal iterator:
MEvaluationNode theNode; for( MEvaluationNodeIterator it = theNode.iterator(); !it.isDone(); it.next() ) { doSomePlugThing( it.plug() ); }
Public Member Functions | |
~MEvaluationNodeIterator () | |
Destructor, frees internal resources. | |
MEvaluationNodeIterator (const MEvaluationNode &node, MStatus *ReturnStatus=NULL) | |
Constructor for iterator over evaluation node's dirty plugs. More... | |
MEvaluationNodeIterator (const MEvaluationNodeIterator &it) | |
Copy constructor for iterator over evaluation node's dirty plugs. More... | |
MEvaluationNodeIterator & | operator= (MEvaluationNodeIterator &it) |
Assignment operator. More... | |
MPlug | plug () |
Returns the dirty plug at the current iterator position. More... | |
bool | isDone () const |
Checks to see if the iterator has reached the end of the iteration. More... | |
void | next () |
Advances the iterator to the next position in the dirty plug list. | |
void | reset () |
Resets the iterator to the first position in the dirty plug list. | |
Static Public Member Functions | |
static const char * | className () |
Returns the name of this class. More... | |
MEvaluationNodeIterator | ( | const MEvaluationNode & | node, |
MStatus * | ReturnStatus = NULL |
||
) |
Constructor for iterator over evaluation node's dirty plugs.
[in] | node | Evaluation node over which to iterate |
[out] | ReturnStatus | Status Code |
MEvaluationNodeIterator | ( | const MEvaluationNodeIterator & | rhs | ) |
Copy constructor for iterator over evaluation node's dirty plugs.
The copied iterator is not const because it becomes empty after the copy.
[in] | rhs | Iterator to copy |
MEvaluationNodeIterator & operator= | ( | MEvaluationNodeIterator & | rhs | ) |
Assignment operator.
The copied iterator is not const because it becomes empty after the assignment.
[in] | rhs | Iterator from which to copy information |
MPlug plug | ( | ) |
Returns the dirty plug at the current iterator position.
Returns an empty plug if the iterator is illegal.
bool isDone | ( | ) | const |
Checks to see if the iterator has reached the end of the iteration.
|
static |
Returns the name of this class.