-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.3 $
-- $Author: jcrocholl $
-- $Hash: 8ab18ff95d5dc27f5d7ef82b985fca20 $

-- This file was automatically created with ado.php.
-- Manual changes will be lost when it is updated.

package body Notations.Slurs is

   -- Constructor for instances.
   function Create
     (Slur_Type : in Slur_Type_Enum-- The initial slur type.
      Placement : in Placement_Enum-- The initial placement.
      Number    : in Positive)       -- The initial number.
     return Slur_Access              -- The newly created slur.
   is
      Result : Slur_Access := new Slur;
   begin
      Result.Slur_Type := Slur_Type;
      Result.Placement := Placement;
      Result.Number := Number;
      return Result;
   end Create;

   -- Accessor to read the slur type of a slur.
   function Get_Slur_Type
     (This : access Slur)     -- The slur to read from.
     return Slur_Type_Enum is -- The slur type of that slur.
   begin
      return This.Slur_Type;
   end Get_Slur_Type;

   -- Accessor to read the placement of a slur.
   function Get_Placement
     (This : access Slur)     -- The slur to read from.
     return Placement_Enum is -- The placement of that slur.
   begin
      return This.Placement;
   end Get_Placement;

   -- Accessor to read the number of a slur.
   function Get_Number
     (This : access Slur-- The slur to read from.
     return Positive is   -- The number of that slur.
   begin
      return This.Number;
   end Get_Number;

end Notations.Slurs;