The Vish Visualization Shell 0.3
Vish
VishScriptSaver Struct Reference
Inheritance diagram for VishScriptSaver:
Wizt::VishSaver MemCore::ReferenceBase< VishSaver > MemCore::Ageable

Public Member Functions

bool save (const std::string &s) override
 The actual save function, to be overloaded.
Public Member Functions inherited from Wizt::VishSaver
bool autosave ()
 Use the same url as last time to perform saving.
const stringgetLastUrlUsedForSaving () const
 Get the last url used for saving.
bool Save (const string &url)
 Saving with noting the 'time' to be saved and the filename or url.
 VishSaver (const string &ext)
 Construct a saver functor, given a preferred file name extension.
Public Member Functions inherited from MemCore::ReferenceBase< VishSaver >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
bool isIdentical (const WeakPtr< VishSaver, VishSaver > &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 (VishSaver *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.
Public Member Functions inherited from MemCore::Ageable
 Ageable () noexcept
 Constructor; remembers birth time from current time counter.
constexpr Ageable (age_t t) noexcept
 Constructor with explicit time value.
constexpr Ageable (const Ageable &A) noexcept
 Copy constructor.
 Ageable (const volatile Ageable &A) noexcept
 Copy constructor.
constexpr const AgeablegetAge () const
 Return reference to this age, useful for derived classes.
bool isNewerThan (const Ageable &a) const noexcept
 Comparison operator.
bool isOlderThan (const Ageable &a) const noexcept
 Comparison operator.
bool isYoungerThan (const Ageable &a) const noexcept
 Comparison operator (alias to isNewerThan() ).
bool operator!= (const Ageable &a) const noexcept
 Comparison operator.
bool operator< (const Ageable &a) const noexcept
 Comparison operator.
bool operator<= (const Ageable &a) const noexcept
 Comparision operator.
bool operator<= (const volatile Ageable &a) const volatile noexcept
 Comparision operator.
bool operator== (const Ageable &a) const noexcept
 Comparison operator.
bool operator> (const Ageable &a) const noexcept
 Comparison operator.
bool operator> (const volatile Ageable &a) const volatile throw ()
 Comparision operator.
bool operator>= (const Ageable &a) const noexcept
 Comparision operator.
bool operator>= (const volatile Ageable &a) const volatile noexcept
 Comparison operator.
constexpr void resetAge () noexcept
 Set time value to InfinitelyOld().
void setInfinitelyNew () noexcept
 Set time value to InfinitelyNew().
age_t time_value () const noexcept
 Return an object's current age.
age_t time_value () const volatile noexcept
 Return an object's current age.
Ageabletouch () noexcept
 Mark the current object as being modified "now".
age_t update (age_t age) noexcept
 Set the age of the current object to a specific age if that is newer than the current one.
age_t update (const Ageable &Other) noexcept
 Set the age of the current object to the age of another object if that other one is newer than the current one.
age_t update (const volatile Ageable &Other) volatile noexcept
 Set the age of the current object to the age of another object if that other one is newer than the current one.
 ~Ageable () noexcept
 Destructor.

Additional Inherited Members

Public Types inherited from MemCore::ReferenceBase< VishSaver >
using reference_domain_t
 The type of the base class.
using SelfPtr_t
 Type for a pointer to this object itself.
Static Public Member Functions inherited from MemCore::Ageable
static const AgeableInfinitelyNew () noexcept
 Return a time that is infinitely in the future (well, sort of).
static constexpr const AgeableInfinitelyOld () noexcept
 Return a time that is infinitely in the past (well, sort of).
static age_t now () noexcept
 Return the current global time.
Public Attributes inherited from Wizt::VishSaver
string ext
 Preferred extension for files saved in this format.
Protected Member Functions inherited from MemCore::ReferenceBase< VishSaver >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
void suicide ()
 Delete this.
virtual ~ReferenceBase ()
 Virtual destructor.