|
The Vish Visualization Shell 0.3
Vish
|
#include <ocean/plankton/ValueSet.hpp>
Public Member Functions | |
| void | addValue (const MemCore::WeakPtr< VValueBase > &V) |
| Add a value to this set. | |
| ValueSet & | operator<<= (const MemCore::WeakPtr< VValueBase > &V) |
| Operator overload function to add values to this set, can be written consecutively: | |
| ValueSet () | |
| Empty default constructor. | |
| ValueSet (const MemCore::WeakPtr< VValueBase > &V) | |
| Construct a value set with a single value. | |
| const string & | ValueState () const |
| Return the current state of all values stored here. | |
| ~ValueSet () | |
| Destructor. | |
Public Member Functions inherited from MemCore::ReferenceBase< ValueSet > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< ValueSet, ValueSet > &PossibleSelf) const noexcept |
| Check if this object is identical to the one used by the given pointer. | |
| void | mkAutoDestructive () |
| Marks this object as being automatically destructed, e.g. | |
| refcount_t | refcount () const noexcept |
| The strong reference count. | |
| ReferenceBase (ValueSet *that) noexcept | |
| Constructor, initializes reference counter to zero. | |
| const auto & | self () const |
| Return weak pointer to the object self. | |
| refcount_t | wrefcount () const noexcept |
| The weak reference count. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| ValueSetPair | operator& (const RefPtr< ValueSet > &VS, const RefPtr< ValuePool > &VP) |
| The combination of a ValueSet pointer and a ValuePool forms a pair that can be assigned slots. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< ValueSet > | |
| using | reference_domain_t = ValueSet |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< ValueSet, ValueSet > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< ValueSet > | |
| virtual void | extremeUnction () |
| A virtual function that will be called just before the object is destroyed. | |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| Protected assignment operator (should not be called). | |
| void | suicide () |
| Delete this. | |
| virtual | ~ReferenceBase () |
| Virtual destructor. | |
A set of values.
Typical usage synopsis:
The ValueSet takes a VValueBase as a reference to a value and stores its current state. While the content of the VValueBase itself may change, the ValueSet knows about its former value and allows to compare it.
|
inline |
Construct a value set with a single value.
|
inline |
Operator overload function to add values to this set, can be written consecutively:
|
related |