Hosted by
|
package body Score_Instruments is
function Create
(ID : in String;
Name : in String)
return Score_Instrument_Access
is
Result : Score_Instrument_Access := new Score_Instrument;
begin
To_String_Access(ID, Result.ID);
To_String_Access(Name, Result.Name);
return Result;
end Create;
function Get_ID
(This : access Score_Instrument)
return String is
begin
return To_String(This.ID);
end Get_ID;
function Get_Name
(This : access Score_Instrument)
return String is
begin
return To_String(This.Name);
end Get_Name;
end Score_Instruments;
|