|
The Vish Visualization Shell 0.3
Vish
|
Utility class for dealing with conversions from VObject and its Slots to strings and vice versa. More...
#include <ocean/remotevish/Slottify.hpp>
Classes | |
| struct | CollectionOfLines |
| A collection of lines, such as parsed from an input string or file. More... | |
| struct | GetObjectInfo |
| Callback object for parsing object slot information. More... | |
| struct | ObjectsWithSlots |
| A set of lines with object name prefixed. More... | |
| struct | SlotCollection |
| A set of lines with only slot information, but no containing objects. More... | |
| struct | SlotInfo |
| Information describing a specific Slot. More... | |
Public Types | |
| typedef set< WeakPtr< VObject > > | ObjectList_t |
| A list of VObjects. | |
| typedef std::map< string, SlotInfo > | ObjectSlots_t |
| A set of textual description of slots. | |
| typedef std::set< WeakPtr< VSlot > > | SlotList_t |
| A set of actual slots. | |
Static Public Member Functions | |
| static void | addAllObjects (ObjectsWithSlots &) |
| Add all objects found in the object pool. | |
| static void | addObjects (ObjectsWithSlots &, const ObjectList_t &OL) |
| Add objects from the given list. | |
| static bool | getObjectInfo (const string &remote_objects, GetObjectInfo &theGetObjectInfo) |
| Split a string using new line characters into lines in a ObjectsWithSlots structure and parse them via the GetObjectInfo parameter. | |
Utility class for dealing with conversions from VObject and its Slots to strings and vice versa.
| struct Wizt::Slottify::SlotInfo |
Information describing a specific Slot.
| Class Members | ||
|---|---|---|
| string | Owner | where this slot belongs to |
| ValueMap | Properties | |
| string | Source | where this slot's parameter came from |
| string | Type | the type of this slot, a C++ typeid |
| string | Value | the current value of this slot |
| RefPtr< VCreationPreferences > | VP | |
| typedef std::map<string, SlotInfo> Wizt::Slottify::ObjectSlots_t |
|
static |
Add objects from the given list.
This function is the complement to getObjectInfo().