* Add StoredAttribute class, bug ID #37602

git-svn-id: trunk@46506 -
This commit is contained in:
michael 2020-08-20 12:06:14 +00:00
parent 8bc2326b77
commit 82346563c1
2 changed files with 35 additions and 0 deletions

View File

@ -1172,6 +1172,28 @@
inherited;
end;
{****************************************************************************
TCustomStoredAttribute
****************************************************************************}
constructor StoredAttribute.Create;
begin
end;
constructor StoredAttribute.Create(Const aFlag : Boolean);
begin
FFlag:=aFlag;
end;
constructor StoredAttribute.Create(Const aName : string);
begin
FName:=aName;
end;
{****************************************************************************
Exception Support

View File

@ -444,6 +444,19 @@
UnsafeAttribute = class(TCustomAttribute);
RefAttribute = class(TCustomAttribute);
VolatileAttribute = class(TCustomAttribute);
StoredAttribute = Class(TCustomAttribute)
Private
FFlag : Boolean;
FName : String;
Public
Constructor Create;
Constructor Create(Const aFlag : Boolean);
Constructor Create(Const aName : String);
Property Flag : Boolean Read FFlag;
Property Name : String Read FName;
end;
Const
ExceptProc : TExceptProc = Nil;