The Vish Visualization Shell 0.3
Vish
Classes | Static Public Member Functions | List of all members
Wizt::VCreatorCategory Class Reference

Classes

struct  Iterator
 Iterator base class for the VCreatorCategory::iterate() function. More...
 

Static Public Member Functions

static void addCreator (const WeakPtr< VCreatorBase > &C)
 Add a creator to the Creator Category registry.
 
static VCreatorPropertiesgetProperties (const string &CategoryName)
 Get the properties of the given Creator Category, allows to modify them.
 
static int iterate (const string &CategoryName, Iterator &It)
 Iterate over all VCreators of a given Category .
 

Member Function Documentation

◆ getProperties()

VCreatorProperties & Wizt::VCreatorCategory::getProperties ( const string &  CategoryName)
static

Get the properties of the given Creator Category, allows to modify them.

Note that these are global properties.

Clarification: though the result is of type VCreatorProperties, it refers to a Category or Creators, not a single Creator.

◆ iterate()

int Wizt::VCreatorCategory::iterate ( const string &  CategoryName,
VCreatorCategory::Iterator It 
)
static

Iterate over all VCreators of a given Category .

Use getProperties() to get overall propertiers of this Category.

Returns
-1 if the specified category was not found, otherwise the number of entries that was successfully traversed.

References Wizt::VCreatorCategory::Iterator::apply().