|
The Vish Visualization Shell 0.3
Vish
|
Public Member Functions | |
| virtual WeakPtr< VValueBase, VValueBase > | create (const string &initvalue, bool &ok)=0 |
| Virtual creation function, to be implemented by a type-specific child class, such as TypedValueCreator<> | |
| VValueCreator () | |
| Constructor. | |
| virtual | ~VValueCreator () |
| Destructor. | |
Public Member Functions inherited from MemCore::ReferenceBase< VValueCreator > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< VValueCreator, VValueCreator > &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 (VValueCreator *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. | |
Static Public Member Functions | |
| static WeakPtr< VValueBase, VValueBase > | create (const string &Typename, const string &initvalue, bool &conversion_successful) |
| Create typed VValue from its type name, returning pointer to abstract base class. | |
| static void | registerCreator (const WeakPtr< VValueCreator, VValueCreator > &, const std::string &Typename) |
| Register a value creator object, this is done by TypedValueCreator<>. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< VValueCreator > | |
| using | reference_domain_t = VValueCreator |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< VValueCreator, VValueCreator > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< VValueCreator > | |
| 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. | |
|
pure virtual |
Virtual creation function, to be implemented by a type-specific child class, such as TypedValueCreator<>
| ok | A flag telling whether the given string could be parsed correctly. |
Implemented in Wizt::TypedValueCreator< T >, Wizt::TypedValueCreator< MemCore::StrongPtr >, Wizt::TypedValueCreator< Type >, and Wizt::TypedValueCreator< Wizt::VThreadManager >.
|
static |
Create typed VValue from its type name, returning pointer to abstract base class.
| conversion_successful | Flag telling whether the string could be parsed correctly. |