|
@@ -193,7 +193,7 @@ type
|
|
function GetTypeSize: integer; virtual;
|
|
function GetTypeSize: integer; virtual;
|
|
function GetBaseType: TRttiType; virtual;
|
|
function GetBaseType: TRttiType; virtual;
|
|
public
|
|
public
|
|
- constructor create(ATypeInfo : PTypeInfo);
|
|
|
|
|
|
+ constructor Create(ATypeInfo : PTypeInfo);
|
|
function GetProperties: specialize TArray<TRttiProperty>; virtual;
|
|
function GetProperties: specialize TArray<TRttiProperty>; virtual;
|
|
function GetProperty(const AName: string): TRttiProperty; virtual;
|
|
function GetProperty(const AName: string): TRttiProperty; virtual;
|
|
function GetMethods: specialize TArray<TRttiMethod>; virtual;
|
|
function GetMethods: specialize TArray<TRttiMethod>; virtual;
|
|
@@ -247,7 +247,7 @@ type
|
|
protected
|
|
protected
|
|
function GetVisibility: TMemberVisibility; virtual;
|
|
function GetVisibility: TMemberVisibility; virtual;
|
|
public
|
|
public
|
|
- constructor create(AParent: TRttiType);
|
|
|
|
|
|
+ constructor Create(AParent: TRttiType);
|
|
property Visibility: TMemberVisibility read GetVisibility;
|
|
property Visibility: TMemberVisibility read GetVisibility;
|
|
property Parent: TRttiType read FParent;
|
|
property Parent: TRttiType read FParent;
|
|
end;
|
|
end;
|
|
@@ -265,7 +265,7 @@ type
|
|
function GetName: string; override;
|
|
function GetName: string; override;
|
|
function GetHandle: Pointer; override;
|
|
function GetHandle: Pointer; override;
|
|
public
|
|
public
|
|
- constructor create(AParent: TRttiType; APropInfo: PPropInfo);
|
|
|
|
|
|
+ constructor Create(AParent: TRttiType; APropInfo: PPropInfo);
|
|
function GetValue(Instance: pointer): TValue;
|
|
function GetValue(Instance: pointer): TValue;
|
|
procedure SetValue(Instance: pointer; const AValue: TValue);
|
|
procedure SetValue(Instance: pointer; const AValue: TValue);
|
|
property PropertyType: TRttiType read GetPropertyType;
|
|
property PropertyType: TRttiType read GetPropertyType;
|
|
@@ -2299,9 +2299,9 @@ begin
|
|
result := mvPublished;
|
|
result := mvPublished;
|
|
end;
|
|
end;
|
|
|
|
|
|
-constructor TRttiMember.create(AParent: TRttiType);
|
|
|
|
|
|
+constructor TRttiMember.Create(AParent: TRttiType);
|
|
begin
|
|
begin
|
|
- inherited create();
|
|
|
|
|
|
+ inherited Create();
|
|
FParent := AParent;
|
|
FParent := AParent;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -2338,9 +2338,9 @@ begin
|
|
Result := FPropInfo;
|
|
Result := FPropInfo;
|
|
end;
|
|
end;
|
|
|
|
|
|
-constructor TRttiProperty.create(AParent: TRttiType; APropInfo: PPropInfo);
|
|
|
|
|
|
+constructor TRttiProperty.Create(AParent: TRttiType; APropInfo: PPropInfo);
|
|
begin
|
|
begin
|
|
- inherited create(AParent);
|
|
|
|
|
|
+ inherited Create(AParent);
|
|
FPropInfo := APropInfo;
|
|
FPropInfo := APropInfo;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -2548,9 +2548,9 @@ begin
|
|
Result := FTypeInfo;
|
|
Result := FTypeInfo;
|
|
end;
|
|
end;
|
|
|
|
|
|
-constructor TRttiType.create(ATypeInfo: PTypeInfo);
|
|
|
|
|
|
+constructor TRttiType.Create(ATypeInfo: PTypeInfo);
|
|
begin
|
|
begin
|
|
- inherited create();
|
|
|
|
|
|
+ inherited Create();
|
|
FTypeInfo:=ATypeInfo;
|
|
FTypeInfo:=ATypeInfo;
|
|
if assigned(FTypeInfo) then
|
|
if assigned(FTypeInfo) then
|
|
FTypeData:=GetTypeData(ATypeInfo);
|
|
FTypeData:=GetTypeData(ATypeInfo);
|