The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::VSlotSet Class Reference
Inheritance diagram for Wizt::VSlotSet:

Public Member Functions

bool contains (const RefPtr< VSlot > &) const
 Check if the given Slot is contained in this set.
 
RefPtr< VSlotfindByName (const string &) const
 Find a slot given a name.
 
RefPtr< VSlotfindFirstParameter (const RefPtr< VParameter > &P) const
 Find the first slot in this set that refers to the specified parameter.
 
RefPtr< VSlotinsertSlot (const RefPtr< VSlot > &mySlot, bool overwriteSlot=true)
 Insert a slot in this set, overwrite an existing one if such is desired.
 
int iterate (int EL, Iterator &VIIt)
 Iterate over all slots contained here.
 
bool removeSlot (const string &SlotNname)
 Remove an entry.
 

Member Function Documentation

◆ findFirstParameter()

RefPtr< VSlot > Wizt::VSlotSet::findFirstParameter ( const RefPtr< VParameter > &  P) const

Find the first slot in this set that refers to the specified parameter.

There can be many slots refer to the same parameter. To find all occurances use iterate() to inspect all Slots.

◆ iterate()

int Wizt::VSlotSet::iterate ( int  EL,
Iterator VIIt 
)

Iterate over all slots contained here.

Returns
how many slots have been traversed.

References Wizt::VSlotIterator::apply(), and Wizt::Vprintf().