| Description | Hierarchy | Fields | Methods | Properties |
type TObjectDefinition = class(TObject)
Class for storing information gathered during the parsing of definition files to allow for easy access to each parsed object. TObjectDefinition is usually accessed (and processed) in all procedures named LoadFromDefinition (see for instance TBehavior.LoadFromDefinition).
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
procedure AddChild(Obj: TObjectDefinition); |
![]() |
procedure AppendObjects(Obj: TObjectDefinition); |
![]() |
procedure Assign(Obj: TObjectDefinition); |
![]() |
function FindChild(ObjectName: string): TObjectDefinition; |
![]() |
function HasProperty(Name: string): Boolean; |
![]() |
function PropertyAsBoolean(PropertyName: string): Boolean; |
![]() |
function PropertyAsFloat(PropertyName: string): real; |
![]() |
function PropertyAsInteger(PropertyName: string): Integer; |
![]() |
function PropertyAsString(PropertyName: string): string; |
![]() |
function PropertyAsStrings(PropertyName: string): TStringList; |
![]() |
procedure PropertyToVector(PropertyName: string; V: TIntegerVector); overload; |
![]() |
procedure PropertyToVector(PropertyName: string; V: TVector); overload; |
![]() |
constructor Create; |
Constructor.
![]() |
destructor Destroy; override; |
Destructor.
![]() |
procedure AddChild(Obj: TObjectDefinition); |
![]() |
procedure AppendObjects(Obj: TObjectDefinition); |
![]() |
procedure Assign(Obj: TObjectDefinition); |
![]() |
function FindChild(ObjectName: string): TObjectDefinition; |
![]() |
function HasProperty(Name: string): Boolean; |
![]() |
function PropertyAsBoolean(PropertyName: string): Boolean; |
![]() |
function PropertyAsFloat(PropertyName: string): real; |
![]() |
function PropertyAsInteger(PropertyName: string): Integer; |
![]() |
function PropertyAsString(PropertyName: string): string; |
![]() |
function PropertyAsStrings(PropertyName: string): TStringList; |
![]() |
procedure PropertyToVector(PropertyName: string; V: TIntegerVector); overload; |
![]() |
procedure PropertyToVector(PropertyName: string; V: TVector); overload; |
![]() |
property Children[i: Integer]: TObjectDefinition; |
![]() |
property HasChildren: Boolean; |
![]() |
property Name: string; |
![]() |
property NameOfClass: string; |
![]() |
property NumberOfChildren: Integer; |
![]() |
property NumberOfProperties: Integer; |
![]() |
property Properties[i: Integer]: TObjectProperty; |
![]() |
property PropertyList: TObjectPropertyList; |
![]() |
property PropertySourceBlock: TStringList; |
![]() |
property TotalNumberOfChildren: Integer; |
![]() |
property Children[i: Integer]: TObjectDefinition; |
![]() |
property HasChildren: Boolean; |
![]() |
property Name: string; |
Name of the parsed object.
![]() |
property NameOfClass: string; |
Name of parsed object's class.
![]() |
property NumberOfChildren: Integer; |
Number of immediate children contained in this object, not counting childs of children.
![]() |
property NumberOfProperties: Integer; |
![]() |
property Properties[i: Integer]: TObjectProperty; |
![]() |
property PropertyList: TObjectPropertyList; |
![]() |
property PropertySourceBlock: TStringList; |
![]() |
property TotalNumberOfChildren: Integer; |
Number of children in this object, including the number of childs in the children.