Hosted by
|
package body Encodings is
function Create
return Encoding_Access
is
Result : Encoding_Access := new Encoding;
begin
return Result;
end Create;
procedure Set_Encoding_Date
(This : access Encoding;
Encoding_Date : in String) is
begin
To_String_Access(Encoding_Date, This.Encoding_Date);
end Set_Encoding_Date;
function Get_Encoding_Date
(This : access Encoding)
return String is
begin
return To_String(This.Encoding_Date);
end Get_Encoding_Date;
procedure Set_Encoder
(This : access Encoding;
Encoder : in String) is
begin
To_String_Access(Encoder, This.Encoder);
end Set_Encoder;
function Get_Encoder
(This : access Encoding)
return String is
begin
return To_String(This.Encoder);
end Get_Encoder;
procedure Set_Software
(This : access Encoding;
Software : in String) is
begin
To_String_Access(Software, This.Software);
end Set_Software;
function Get_Software
(This : access Encoding)
return String is
begin
return To_String(This.Software);
end Get_Software;
procedure Set_Encoding_Description
(This : access Encoding;
Encoding_Description : in String) is
begin
To_String_Access(Encoding_Description, This.Encoding_Description);
end Set_Encoding_Description;
function Get_Encoding_Description
(This : access Encoding)
return String is
begin
return To_String(This.Encoding_Description);
end Get_Encoding_Description;
end Encodings;
|