Record Classes

The classes in this section are used to manage records. For more detailed information about an individual class or its member functions, refer to the class and member function descriptions available online.

TRecordField is an abstract class that is a generic wrapper for data fields in a record. It is intended for provider use only and clients cannot instantiate it.

TRecordFieldHandle is a concrete class that is a counted-pointer memory-management surrogate for record fields. It helps manage the destruction of a record instance containing a given field. Records are deleted when there are no remaining record or field handles that reference the record.

TRecord is an abstract class representing an array of fields. Providers must declare appropriate constructors when using this class. Clients should use instances of TRecordHandle.

TRecordHandle is a concrete class that is one of two counted-pointer memory-management surrogates for TRecord and its subclasses (the other counted-pointer memory- management surrogate being TRecordField Handle). Clients should obtain record handles for records from classes such as TRecordSource.

TRecordUnsignedCharField and TRecordUnsignedCharFieldHandle implement the equivalent of:

      typedef TRecordFieldOf<unsigned char, unsigned char> 
          TRecordUnsignedCharField;
      TRecordFieldHandleOf<unsigned char, unsigned char>
          TRecordUnsignedCharFieldHandle;
TRecordShortField and TRecordShortFieldHandle implement the equivalent of:

      typedef TRecordFieldOf<short, short> 
          TRecordShortField;
      TRecordFieldHandleOf<short, short>
          TRecordShortFieldHandle;
TRecordLongField and TRecordLongFieldHandle implement the equivalent of:

      typedef TRecordFieldOf<long, long> 
          TRecordLongField;
      TRecordFieldHandleOf<long, long>
          TRecordLongFieldHandle;
TRecordDoubleField and TRecordDoubleFieldHandle implement the equivalent of:

      typedef TRecordFieldOf<double, double> 
          TRecordDoubleField;
      TRecordFieldHandleOf<double, double>
          TRecordDoubleFieldHandle;
TSQLRecordException defines the concrete exceptions that might be thrown by the record source framework as a result of unexpected conditions, such as a communications disruption caused by a power outage at an offsite RDBMS.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker