ERUCES::TEOperation
#include <teoperation.h>
The TEOperation class represents an operation and is derived from the TEUpdatableObject class.
Inheritance
- Inherits ERUCES::TEUpdatableObject
Public Member Functions
| Member | Description |
|---|---|
TEOperation() | The TEOperation constructor is the default class constructor. |
TEOperation(const TEOperation &op) | The TEOperation constructor copies a TEOperation object. |
~TEOperation() | The TEOperation destructor is the class destructor. |
void setOperationId(te_oid oid) | The setOperationId method sets a unique operation identifier. |
te_oid getOperationId() const | The getOperationId method gets an operation identifier. |
void setOperationName(const _TESTD string &name) | The setOperationName method sets an operation name. |
const _TESTD string getOperationName() const | The getOperationName method gets an operation name. |
TEObject * clone() const | The 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()
The TEOperation destructor is the class destructor.
void setOperationId(te_oid oid)
The setOperationId method sets a unique operation identifier.
Parameters
| Parameter | Description |
|---|---|
oid | The 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
| Parameter | Description |
|---|---|
name | String 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.