Skip to main content

ERUCES::TEUpdatableObject

#include <teupdobject.h>

The TEUpdatableObject class is the base class for all objects which can be marshalled.

It is derived from the TEObject class. Base class for all objects that can be marshalled.

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Protected Attributes​

TypeNameDescription
UpdatableObject *m_pObjectImpl

Protected Member Functions​

MemberDescription
TEUpdatableObject()The TEUpdatableObject constructor is the default class constructor.
TEUpdatableObject(const TEUpdatableObject &)The TEUpdatableObject copy constructor starts the copy with NO implementation object; the derived class's copy constructor installs its own deep copy.

Public Member Functions​

MemberDescription
~TEUpdatableObject()The TEUpdatableObject destructor is the class destructor.
TEUpdatableObject & operator=(const TEUpdatableObject &)=deleteCopy assignment is DELETED at this level. Every concrete class declares its own (a deep copy of its implementation object, self-assignment safe); a class that does not refuses assignment at compile time rather than sharing – and double-freeing – its impl, which is what the implicit member did until TE81-448 (W36 round 1). Assignment through a base reference (which would slice) does not compile either.
void getUpdatedAttributeName(TEObjectContainer &names) constThe getUpdatedAttributeName method gets the names of all updated attributes.
void clearUpdatedAttributeName()The clearUpdatedAttributeName method clears the names of all updated attributes; the object returns to its unchanged status.

Member Function Documentation​

TEUpdatableObject()​

The TEUpdatableObject constructor is the default class constructor.

TEUpdatableObject(const TEUpdatableObject &)​

The TEUpdatableObject copy constructor starts the copy with NO implementation object; the derived class's copy constructor installs its own deep copy.

TE81-448 (W36 round 1). The implicit copy constructor this replaces copied the source's pointer, so a derived copy constructor that threw before installing its own impl left the base destructor deleting the SOURCE's. Protected: a base object is never copied on its own.

~TEUpdatableObject()​

The TEUpdatableObject destructor is the class destructor.

TEUpdatableObject & operator=(const TEUpdatableObject &)=delete​

Copy assignment is DELETED at this level. Every concrete class declares its own (a deep copy of its implementation object, self-assignment safe); a class that does not refuses assignment at compile time rather than sharing – and double-freeing – its impl, which is what the implicit member did until TE81-448 (W36 round 1). Assignment through a base reference (which would slice) does not compile either.

void getUpdatedAttributeName(TEObjectContainer &names) const​

The getUpdatedAttributeName method gets the names of all updated attributes.

Parameters

ParameterDescription
namesA container to hold strings representing the attribute names. Type of objects in it will be string.

void clearUpdatedAttributeName()​

The clearUpdatedAttributeName method clears the names of all updated attributes; the object returns to its unchanged status.