Class: TTextStoreInterest

Declaration: SimpleTextNotification.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TInterest

Inherited By:

None.

Purpose:

TTextStoreInterest is derived from TInterest. A TTextStoreInterest object is needed to register for notification of changes to the text store.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

This class is designed to be used directly.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TTextStoreInterest::TTextStoreInterest

  1. TTextStoreInterest (const TGlobalID & textStoreID, const TToken & theName)
  2. TTextStoreInterest (const TTextStoreInterest &)
  3. TTextStoreInterest ()

Interface Category:

API.

Purpose:

  1. Constructs a text store interest with the specified text store ID and token name.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. May be called directly by clients.
  2. May be called directly by clients.
  3. May be called directly by clients.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTextStoreInterest::~TTextStoreInterest

virtual ~ TTextStoreInterest ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Typically not called directly by clients.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTextStoreInterest::operator=

const TTextStoreInterest & operator =(const TTextStoreInterest &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

May be called directly by clients.

Parameters:

Return Value:

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTextStoreInterest::operator>>=

virtual TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

May be called directly by clients.

Parameters:

Return Value:

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTextStoreInterest::operator<<=

virtual TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

May be called directly by clients.

Parameters:

Return Value:

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

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TTextStoreInterest::Hash

virtual long Hash () const

Interface Category:

API.

Purpose:

Overrides inherited MCollectible function.

Calling Context:

May be called directly by clients.

Parameters:

Return Value:

The numeric value of the hash, a long.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

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