RAD Studio VCL Reference
TFieldDefList Class

TFieldDefList lists the field definition (TFieldDef) objects of a dataset in a flattened form.

TFieldDefList = class(TFlatList);
class TFieldDefList : public TFlatList;

TFieldDefList is used by a dataset to implement its FieldDefList property. This object lists field definitions in a flattened format. 

With object field types, such as TADTField and TArrayField, there are two ways to represent the field definitions: hierarchically or flattened. When represented hierarchically, object field definitions contain a set of child definitions for the constituent subfields. When represented as a flattened set, child field definitions appear as siblings sequentially after the parent field definition. 

TFieldDefList stores the flattened field definitions of a dataset. This is a linear representation of the data, and is in contrast to TFieldDefs which has a hierarchical representation of the data. 

TFieldDefList is a descendant of TStringList. The strings in this string list are the names of fields. The objects that correspond to those strings are the TFieldDef objects. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!