Public methods

The opt parameter

Many methods have the same parameter, opt, which is described under the abendCode method inabendCode.

classType

ClassType classType() const

Returns an enumeration that indicates what the subclass type is. For example, for an IccTempStore object, the class type is 'cTempStore'. The possible values are listed under ClassType on page ClassType.

className

const char* className(NameOpt opt=customName)

opt
An enumerator, defined in this class, that indicates whether to return the base name of the class or the name as customized by a derived class.

Returns the name of the class. For example, an IccTempStore object returns "IccTempStore".

Suppose a class MyDataQueue inherits from IccDataQueue. If MyDataQueue calls setClassName("MyDataQueue"), MyDataQueue::className(IccBase::customName) returns "MyDataQueue" and MyDataQueue::className(IccBase::baseName) returns "IccDataQueue". An IccDataQueue object returns "IccDataQueue" for both opt values.

customClassNum

unsigned short customClassNum() const

Returns the number that an application designer has associated with a subclass that he or she has designed.

operator delete

void operator delete(void* object)

object
A pointer to an object that is to be destroyed.

Destroys an object in an orderly manner.

operator new

void* operator new(size_t size)

size
The size of the object that is to be created, in bytes.

Creates a new object of given size. This operator enables the Foundation Classes to use CICS® storage allocation (see initializeEnvironment).

[[ Contents Previous Page | Next Page Index ]]