84 virtual void vclone(
const Object& rhs);
90 virtual void steal(
Object& rhs);
116 virtual const Object& getKey()
const;
126 return (&(getKey()) !=
this);
130 virtual const Object& getProxiedObject()
const;
133 virtual Object& getProxiedObject();
141 virtual size_t hash(
size_t size)
const;
153 return getClass()->_isA(runTimeClass);
247 object = serializeInBoxed(stream, mode);
249 object->serializeOutBoxed(stream, mode);
263 virtual size_t innerAllocatedSize()
const;
301 virtual void addOwnedIt(
const class FwdIt* it)
const;
304 virtual void removeOwnedIt(
const class FwdIt* it)
const;
size_t allocatedSize(const Object *object)
Compute the allocated size of an object.
void serializeIn(Stream &is, uint_t mode=ser_default)
Serialize from an input stream.
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
String toString(const FwdIt &begin, const FwdIt &end, const String &sep, bool key=false)
Obtain a string representation of a sequence (via Object::toString()).
void serialize(bool &b, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a boolean.
#define const_cast_this
Pointer to the object the method was invoked on (casting away const).
bool operator<(const Object &rhs) const
Less-than operator.
bool hasKey() const
Determine whether or not the object has a key.
bool _isA(const RunTimeClass *runTimeClass) const
Determine whether self's class is a descendent of the given class.
static void serializeBoxed(Object *&object, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a boxed object to or from a stream.
default representation (via getSerializeMode())
Store information about a class.
void copy(T *dest, const T *src, size_t len)
Copy one array of objects to another.
bool operator!=(const Object &rhs) const
Unequal-to operator.
Forward iterator abstraction.
void serializeOut(Stream &os, uint_t mode=ser_default) const
Serialize to an output stream.
#define UTL_CLASS_DECL_ABC(DC, BC)
Declaration of standard UTL++ functionality for an abstract base class (ABC).
bool operator==(const Object &rhs) const
Equal-to operator.
unsigned int uint_t
Unsigned integer.
bool operator<=(const Object &rhs) const
Less-than-or-equal-to operator.
const uint_t uint_t_max
Maximum uint_t value.
bool operator>(const Object &rhs) const
Greater-than operator.
void serializeNullable(T *&object, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a nullable object.
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
bool operator>=(const Object &rhs) const
Greater-than-or-equal-to operator.
void dump(const FwdIt &begin, const FwdIt &end, Stream &os, uint_t level=uint_t_max, bool key=false, bool printClassName=false, uint_t indent=0, const char *separator=nullptr)
Dump objects to the given stream (with Object::dump()).