The Vish Visualization Shell 0.3
Vish
Classes | Functions | Variables
VISH Iterators

Iterators are implemented via abstract classes with a virtual apply() function that is call with a certain set of parameters describing the current object. More...

Classes

struct  Wizt::VFindLongestObjectInputName
 Class to find the longest input (parameter) name. More...
 
struct  Wizt::VInputCreatorIterator
 Abstract base class for iterators of input objects. More...
 
class  Wizt::VManagedObjectIterator
 Abstract iterator class for iterating over a Domain of objects. More...
 
struct  Wizt::VObjectIterator
 Iterator functor to be used for iterating over the parents of a certain VObject. More...
 
class  Wizt::VOutputIterator
 The callback class for iterating over the output objects (i.e. More...
 
class  Wizt::VSlotIterator
 The callback class for iterating over the input objects (i.e. More...
 

Functions

static int Wizt::VManagedDomainObject< What >::iterate (VManagedObjectIterator_t VIt, int p_start=INT_MIN, int p_end=INT_MAX)
 Iterate through all objects within a given priority range.
 
static int Wizt::VManagedDomainObject< What >::traverse (VManagedObjectIterator &VIt, int p_start=INT_MIN, int p_end=INT_MAX)
 Iterate through all objects within a given priority range.
 

Variables

struct VBASE_API Wizt::VObjectIterator
 Iterator functor for a sequence of objects.
 

Detailed Description

Iterators are implemented via abstract classes with a virtual apply() function that is call with a certain set of parameters describing the current object.

This choice of implementation is slightly less efficient than the STL iterator scheme, but provides better encapsulation.