-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.5 $
-- $Author: jcrocholl $
-- $Hash: 45a1806baa71646af39faca57c1139de $

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

package body Encodings is

   -- Constructor for instances.
   function Create
     return Encoding_Access -- The newly created encoding.
   is
      Result : Encoding_Access := new Encoding;
   begin
      return Result;
   end Create;

   -- Mutator to update the encoding date of a encoding.
   procedure Set_Encoding_Date
     (This          : access Encoding-- The encoding to be updated.
      Encoding_Date : in String) is    -- The new encoding date of that encoding.
   begin
      To_String_Access(Encoding_Date, This.Encoding_Date);
   end Set_Encoding_Date;

   -- Accessor to read the encoding date of a encoding.
   function Get_Encoding_Date
     (This : access Encoding-- The encoding to read from.
     return String is         -- The encoding date of that encoding.
   begin
      return To_String(This.Encoding_Date);
   end Get_Encoding_Date;

   -- Mutator to update the encoder of a encoding.
   procedure Set_Encoder
     (This    : access Encoding-- The encoding to be updated.
      Encoder : in String) is    -- The new encoder of that encoding.
   begin
      To_String_Access(Encoder, This.Encoder);
   end Set_Encoder;

   -- Accessor to read the encoder of a encoding.
   function Get_Encoder
     (This : access Encoding-- The encoding to read from.
     return String is         -- The encoder of that encoding.
   begin
      return To_String(This.Encoder);
   end Get_Encoder;

   -- Mutator to update the software of a encoding.
   procedure Set_Software
     (This     : access Encoding-- The encoding to be updated.
      Software : in String) is    -- The new software of that encoding.
   begin
      To_String_Access(Software, This.Software);
   end Set_Software;

   -- Accessor to read the software of a encoding.
   function Get_Software
     (This : access Encoding-- The encoding to read from.
     return String is         -- The software of that encoding.
   begin
      return To_String(This.Software);
   end Get_Software;

   -- Mutator to update the encoding description of a encoding.
   procedure Set_Encoding_Description
     (This                 : access Encoding-- The encoding to be updated.
      Encoding_Description : in String) is    -- The new encoding description of that encoding.
   begin
      To_String_Access(Encoding_Description, This.Encoding_Description);
   end Set_Encoding_Description;

   -- Accessor to read the encoding description of a encoding.
   function Get_Encoding_Description
     (This : access Encoding-- The encoding to read from.
     return String is         -- The encoding description of that encoding.
   begin
      return To_String(This.Encoding_Description);
   end Get_Encoding_Description;

end Encodings;