Class: TType

Declaration: TaligentType.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

Provides CommonPoint-specific type information for class objects.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive any classes from TType.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TType::TType

  1. TType (const TTypeInfo &)
  2. TType (const TType &)
  3. TType ()

Interface Category:

API.

Purpose:

  1. Creates a TType based on the given TTypeInfo object.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Called to extend CommonPoint-specific type information.
  2. Called to copy an object.
  3. Called by Resurrect and CreateNewObject.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::~TType

virtual ~ TType ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::operator=

TType & operator =(const TType &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an TType object is assigned to another TType object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::operator==

bool operator ==(const TType &) const

Interface Category:

API.

Purpose:

Compares two objects for equality.

Calling Context:

Called to compare two TType objects.

Parameters:

Return Value:

Returns true if this object and the argument object are the same.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::operator!=

bool operator != (const TType &) const

Interface Category:

API.

Purpose:

Compares two objects for inequality.

Calling Context:

Called to compare two TType objects.

Parameters:

Return Value:

Returns true if this object and the argument object are different.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::operator>>=

TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::operator<<=

TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::GetName

void GetName (TText &) const

Interface Category:

API.

Purpose:

Provides the name of the class represented by this TType object.

Calling Context:

Called directly to obtain the class name of an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TType::GetTypeInfo

const TTypeInfo & GetTypeInfo () const

Interface Category:

API.

Purpose:

Returns a reference to the underlying TTypeInfo object that this TType object is based on.

Calling Context:

Called directly to obtain the TTypeInfo object on which this TType object is based.

Parameters:

Return Value:

Returns a reference to the TTypeInfo object on which this TType object is based.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.