Skip to main content

ERUCES::TEOperation

#include <teoperation.h>

The TEOperation class represents an operation and is derived from the TEUpdatableObject class.

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Public Member Functions​

MemberDescription
TEOperation()The TEOperation constructor is the default class constructor.
TEOperation(const TEOperation &op)The TEOperation constructor copies a TEOperation object.
TEOperation & operator=(const TEOperation &)The = operator assigns a deep copy of the source's implementation object to this object (self-assignment safe; the previous implementation object is freed).
~TEOperation()The TEOperation destructor is the class destructor.
void setOperationId(te_oid oid)The setOperationId method sets a unique operation identifier.
te_oid getOperationId() constThe getOperationId method gets an operation identifier.
void setOperationName(const _TESTD string &name)The setOperationName method sets an operation name.
const _TESTD string getOperationName() constThe getOperationName method gets an operation name.
TEObject * clone() constThe clone method clones a TEOperation object.

Member Function Documentation​

TEOperation()​

The TEOperation constructor is the default class constructor.

TEOperation(const TEOperation &op)​

The TEOperation constructor copies a TEOperation object.

TEOperation & operator=(const TEOperation &)​

The = operator assigns a deep copy of the source's implementation object to this object (self-assignment safe; the previous implementation object is freed).

TE81-448 (W36 round 1): until this round the implicit member copied the pointer, so the assignee and the source freed one object twice.

~TEOperation()​

The TEOperation destructor is the class destructor.

void setOperationId(te_oid oid)​

The setOperationId method sets a unique operation identifier.

Parameters

ParameterDescription
oidThe operation ID to be set.

te_oid getOperationId() const​

The getOperationId method gets an operation identifier.

Returns: Returns an operation ID.

void setOperationName(const _TESTD string &name)​

The setOperationName method sets an operation name.

Parameters

ParameterDescription
nameString of operation name to be set.

const _TESTD string getOperationName() const​

The getOperationName method gets an operation name.

Returns: Returns an operation name.

TEObject * clone() const​

The clone method clones a TEOperation object.

Returns: Returns a cloned TEOperation object.

Examples​