27template <
typename TYPE>
99template <
typename TYPE>
105template<
typename TYPE>
108 std::stringstream
ss;
109 ss << this->className() <<
"("
110 << formatString(
this) <<
", "
111 << formatString(this->getVal()) <<
")";
Unique ownership smart pointer with move semantics.
Definition ownerPtr.h:37
Base class providing polymorphic string conversion capabilities.
Definition printable.h:39
Base class for linked value containers with formatted output.
Definition wrapper.h:28
virtual wrapper * getPNext() const =0
Retrieves next node in container sequence.
virtual wrapper * getPPrev() const =0
Retrieves previous node in container sequence.
virtual const TYPE & getVal() const =0
Accesses the contained value (immutable).
virtual TYPE & getVal()=0
Accesses the contained value (mutable).
virtual void setVal(TYPE data)=0
Updates the contained value.
std::string className() const override
Provides class identifier for diagnostics. See original::printable::className()
Definition wrapper.h:100
~wrapper() override=default
Destructor for the wrapper class.
std::string toString(bool enter) const override
Generates formatted diagnostic string. See original::printable::toString()
Definition wrapper.h:106
Main namespace for the project Original.
Definition algorithms.h:21
Standard namespace extensions for original::alternative.
Definition allocator.h:351
Interface for polymorphic string formatting and output.