URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
-- { dg-do compile }
|
-- { dg-do compile }
|
|
|
with Ada.Tags.Generic_Dispatching_Constructor;
|
with Ada.Tags.Generic_Dispatching_Constructor;
|
package body Graphic is
|
package body Graphic is
|
--
|
--
|
function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
|
function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
|
(T => Object,
|
(T => Object,
|
Parameters => Streams.Root_Stream_Type'Class,
|
Parameters => Streams.Root_Stream_Type'Class,
|
Constructor => Object'Input);
|
Constructor => Object'Input);
|
--
|
--
|
function XML_Input
|
function XML_Input
|
(S : access Streams.Root_Stream_Type'Class) return Object'Class
|
(S : access Streams.Root_Stream_Type'Class) return Object'Class
|
is
|
is
|
Result : constant Object'Class :=
|
Result : constant Object'Class :=
|
Dispatching_Input (Tags.Internal_Tag (" "), S);
|
Dispatching_Input (Tags.Internal_Tag (" "), S);
|
begin
|
begin
|
return Result;
|
return Result;
|
end XML_Input;
|
end XML_Input;
|
end Graphic;
|
end Graphic;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.