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.
- TType (const TTypeInfo &)
- TType (const TType &)
- TType ()
Interface Category:
API.
Purpose:
- Creates a TType based on the given TTypeInfo object.
- Copy constructor.
- Default constructor.
Calling Context:
- Called to extend CommonPoint-specific type information.
- Called to copy an object.
- Called by Resurrect and CreateNewObject.
Parameters:
- const TTypeInfo & -The type information.
- const TType & -The object to be copied.
- Takes no parameters.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
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:
- const TType & -The object to be copied.
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:
- const TType & -The object to be compared to this object.
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:
- const TType & -The object to be compared to this object.
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:
- TStream & -The stream the object streams itself out to.
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:
- TStream & -The stream the object streams itself in from.
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:
- TText & -The object whose class name is to be returned.
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.