Class TPasProperty
Unit
Declaration
type TPasProperty = class(TPasItem)
Description
This is a TBaseItem descendant that is always declared inside some Pascal source file.
Parser creates only items of this class (e.g. never some basic TBaseItem instance). This class introduces properties and methods pointing to parent unit (MyUnit) and parent class/interface/object/record (MyObject). Also many other things not needed at TBaseItem level are introduced here: things related to handling @abstract tag, @seealso tag, used to sorting items inside (Sort) and some more.
Hierarchy
- TObject
- TSerializable
- TBaseItem
- TPasItem
- TPasProperty
Overview
Fields
FDefault: Boolean; |
|
FNoDefault: Boolean; |
|
FIndexDecl: string; |
|
FStoredID: string; |
|
FDefaultID: string; |
|
FWriter: string; |
|
FPropType: string; |
|
FReader: string; |
Methods
procedure Serialize(const ADestination: TStream); override; |
|
procedure Deserialize(const ASource: TStream); override; |
Properties
property IndexDecl: string read FIndexDecl write FIndexDecl; |
|
property Proptype: string read FPropType write FPropType; |
|
property Reader: string read FReader write FReader; |
|
property Writer: string read FWriter write FWriter; |
|
property Default: Boolean read FDefault write FDefault; |
|
property DefaultID: string read FDefaultID write FDefaultID; |
|
property NoDefault: Boolean read FNoDefault write FNoDefault; |
|
property StoredId: string read FStoredID write FStoredID; |
Description
Fields
FDefault: Boolean; |
|
FNoDefault: Boolean; |
|
FIndexDecl: string; |
|
FStoredID: string; |
|
FDefaultID: string; |
|
FWriter: string; |
|
FPropType: string; |
|
FReader: string; |
|
Methods
procedure Serialize(const ADestination: TStream); override; |
|
procedure Deserialize(const ASource: TStream); override; |
|
Properties
property IndexDecl: string read FIndexDecl write FIndexDecl; |
|
contains the optional index declaration, including brackets |
property Proptype: string read FPropType write FPropType; |
|
contains the type of the property |
property Reader: string read FReader write FReader; |
|
read specifier |
property Writer: string read FWriter write FWriter; |
|
write specifier |
property Default: Boolean read FDefault write FDefault; |
|
true if the property is the default property |
property DefaultID: string read FDefaultID write FDefaultID; |
|
keeps default value specifier |
property NoDefault: Boolean read FNoDefault write FNoDefault; |
|
true if Nodefault property |
property StoredId: string read FStoredID write FStoredID; |
|
keeps Stored specifier |
Generated by PasDoc 0.16.0.