mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
39 lines
1.7 KiB
Ada
39 lines
1.7 KiB
Ada
------------------------------------------------------------------------------
|
|
-- Ada Web Server --
|
|
-- --
|
|
-- Copyright (C) 2025, AdaCore --
|
|
-- --
|
|
-- This is free software; you can redistribute it and/or modify it --
|
|
-- under terms of the GNU General Public License as published by the --
|
|
-- Free Software Foundation; either version 3, or (at your option) any --
|
|
-- later version. This software is distributed in the hope that it will --
|
|
-- be useful, but WITHOUT ANY WARRANTY; without even the implied warranty --
|
|
-- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
|
|
-- General Public License for more details. --
|
|
-- --
|
|
-- You should have received a copy of the GNU General Public License --
|
|
-- distributed with this software; see file COPYING3. If not, go --
|
|
-- to http://www.gnu.org/licenses for a complete copy of the license. --
|
|
------------------------------------------------------------------------------
|
|
|
|
with Ada.Text_IO;
|
|
|
|
with EnumValService.Client;
|
|
with EnumValService.Server;
|
|
with EnumValService.Types;
|
|
with simple.doc.net.sd.Exampletype_Type_Pkg;
|
|
|
|
procedure EnumVal is
|
|
|
|
use Ada;
|
|
|
|
use simple.doc.net.sd.Exampletype_Type_Pkg;
|
|
|
|
begin
|
|
for E in ExampleType_Type'Range loop
|
|
Text_IO.Put_Line (E'Image
|
|
& " : "
|
|
& Image (Value (To_String_Type (E))));
|
|
end loop;
|
|
end EnumVal;
|