Natools

Check-in [39fe9aca16]
Login
Overview
Comment:s_expressions-replayable: new interface for S-expression descriptors that can duplicated
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 39fe9aca1673057c191dc87d9e151a4975ce1465
User & Date: nat on 2014-09-07 20:13:37
Other Links: manifest | tags
Context
2014-09-08
19:52
s_expressions-generic_caches: implement the new Replayable.Descriptor interface in cursors check-in: 14c328e4b4 user: nat tags: trunk
2014-09-07
20:13
s_expressions-replayable: new interface for S-expression descriptors that can duplicated check-in: 39fe9aca16 user: nat tags: trunk
2014-09-06
21:08
time_statistics-fine_timers: new instance of Generic_Timers using annex D monotonic time check-in: cf0534dce3 user: nat tags: trunk
Changes

Added src/natools-s_expressions-replayable.ads version [40dc4e87b6].































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté                                        --
--                                                                          --
-- Permission to use, copy, modify, and distribute this software for any    --
-- purpose with or without fee is hereby granted, provided that the above   --
-- copyright notice and this permission notice appear in all copies.        --
--                                                                          --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF         --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR  --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES   --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN    --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF  --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.           --
------------------------------------------------------------------------------

------------------------------------------------------------------------------
-- Natools.S_Expressions.Replayable provides an interface for S-expression  --
-- descriptors that can be duplicated, to replay the same segment several   --
-- times.                                                                   --
------------------------------------------------------------------------------

package Natools.S_Expressions.Replayable is
   pragma Pure;

   type Descriptor is limited interface and S_Expressions.Descriptor;

   function Duplicate (Object : Descriptor) return Descriptor is abstract;
      --  Return an idependant copy of Object with the same current state

end Natools.S_Expressions.Replayable;