Hosted by
|
package body Identifications is
function Create
return Identification_Access
is
Result : Identification_Access := new Identification;
begin
return Result;
end Create;
function Get_Creators
(This : access Identification)
return Hash_Table_Access is
begin
return This.Creators;
end Get_Creators;
procedure Set_Rights
(This : access Identification;
Rights : in String) is
begin
To_String_Access(Rights, This.Rights);
end Set_Rights;
function Get_Rights
(This : access Identification)
return String is
begin
return To_String(This.Rights);
end Get_Rights;
procedure Set_Encoding
(This : access Identification;
Encoding : in Encoding_Access) is
begin
This.Encoding := Encoding;
end Set_Encoding;
function Get_Encoding
(This : access Identification)
return Encoding_Access is
begin
return This.Encoding;
end Get_Encoding;
procedure Set_Source
(This : access Identification;
Source : in String) is
begin
To_String_Access(Source, This.Source);
end Set_Source;
function Get_Source
(This : access Identification)
return String is
begin
return To_String(This.Source);
end Get_Source;
procedure Add_Creator
(This : access Identification;
Creator_Type : in String;
Creator_Name : in String) is
begin
Put(This.Creators, Creator_Type, Creator_Name);
end Add_Creator;
end Identifications;
|