Class: TRecordUnsignedCharFieldHandle

Declaration: Record.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TRecordFieldHandle

Inherited By:

None.

Purpose:

This concrete class is a memory surrogate class for TRecordUnsignedCharField class. Clients typically use this class in preference to TRecordUnsignedCharField.

Instantiation:

Always allocate on the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TRecordUnsignedCharFieldHandle::TRecordUnsignedCharFieldHandle

  1. TRecordUnsignedCharFieldHandle ()
  2. TRecordUnsignedCharFieldHandle (const TRecordUnsignedCharFieldHandle & fieldHandle)
  3. TRecordUnsignedCharFieldHandle (const TRecordFieldHandle & fieldHandle)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. Creates an UnsignedChar field handle for the given UnsignedChar field.

Calling Context:

  1. Called by the stream-in operators and any other function that needs to construct an uninitialized object.
  2. Called to copy an object.
  3. Called to instantiate a field handle.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRecordUnsignedCharFieldHandle::~TRecordUnsignedCharFieldHandle

virtual ~ TRecordUnsignedCharFieldHandle ()

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: TRecordUnsignedCharFieldHandle::operator=

TRecordUnsignedCharFieldHandle & operator =(const TRecordUnsignedCharFieldHandle & fieldHandle)

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: TRecordUnsignedCharFieldHandle::GetValue

  1. virtual unsigned char GetValue () const
  2. virtual const unsigned char & GetValue (unsigned char & target) const

Interface Category:

API.

Purpose:

Purpose:

  1. Fetches the field by reference.
  2. Fetches the field by value.

Calling Context:

  1. Call this function directly.
  2. Call this function directly.

Parameters:

Return Value:

A const reference to, or for the second variant, the value of, the field.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRecordUnsignedCharFieldHandle::SetValue

virtual void SetValue (const unsigned char & value)

Interface Category:

API.

Purpose:

Sets the value of the field.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRecordUnsignedCharFieldHandle::Replace

virtual void Replace (const TRecordFieldHandle & field)

Interface Category:

API.

Purpose:

Replaces the field with the value of the given field.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws an exception if the fields are incompatible.

Concurrency:

Not 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.