Class: TSimpleTextTypingStore

Declaration: SimpleTextTypingStore.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TTextTypingStore

Inherited By:

None.

Purpose:

TSimpleTextTypingStore is derived from TTextTypingStore. It modifies text directly, and uses associated TSimpleTextView and TTypingCommand objects to implement its member functions.

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: TSimpleTextTypingStore::TSimpleTextTypingStore

  1. TSimpleTextTypingStore (TSimpleTextView * theView)
  2. TSimpleTextTypingStore (const TSimpleTextTypingStore & other)

Interface Category:

API.

Purpose:

  1. Constructs a simple text typing store object that uses the specified simple text view to implement its member functions.
  2. Copy constructor.

Calling Context:

  1. Called by a text editor to construct a simple text typing store object that uses the specified simple text view to implement its member functions.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSimpleTextTypingStore::operator=

TSimpleTextTypingStore & operator =(const TSimpleTextTypingStore & other)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

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: TSimpleTextTypingStore::~TSimpleTextTypingStore

~ TSimpleTextTypingStore ()

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:

Not multithread safe.

Other Considerations:

None.

Member Function: TSimpleTextTypingStore::TypeEnd

virtual void TypeEnd ()

Interface Category:

API.

Purpose:

Terminates the typing transaction.

Calling Context:

Called by the typing configuration's TypeEnd function.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Overrides inherited TTypingStore function.

Member Function: TSimpleTextTypingStore::DoTyping

virtual void DoTyping (const TText & newText, const TTextRange & newRange)

Interface Category:

API.

Purpose:

Replaces the specified range of text with the specified text.

Calling Context:

Called by TypeText to do the actual text replacement.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

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