diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-06 10:24:11 +0100 |
commit | 4538829ab86b5a1cd4e845e7eab165029c9d6d46 (patch) | |
tree | bbadf39aed0610c8f8f7b41fefff47773b8ac205 /libxsd-frontend/xsd-frontend/traversal/compositors.cxx | |
parent | 23d41842168ac1a1580111b9c5c73500ceee3d57 (diff) | |
parent | aad5ad9bf0c02aa4e79bc6b7d6c934612fff4026 (diff) |
Update upstream source from tag 'upstream/4.2.0'
Update to upstream version '4.2.0'
with Debian dir 1b38df7bbcf313223de3c50107ac0255090fe647
Diffstat (limited to 'libxsd-frontend/xsd-frontend/traversal/compositors.cxx')
-rw-r--r-- | libxsd-frontend/xsd-frontend/traversal/compositors.cxx | 164 |
1 files changed, 0 insertions, 164 deletions
diff --git a/libxsd-frontend/xsd-frontend/traversal/compositors.cxx b/libxsd-frontend/xsd-frontend/traversal/compositors.cxx deleted file mode 100644 index f2b3dcd..0000000 --- a/libxsd-frontend/xsd-frontend/traversal/compositors.cxx +++ /dev/null @@ -1,164 +0,0 @@ -// file : xsd-frontend/traversal/compositors.cxx -// copyright : Copyright (c) 2006-2014 Code Synthesis Tools CC -// license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -#include <xsd-frontend/traversal/compositors.hxx> - -namespace XSDFrontend -{ - namespace Traversal - { - // ContainsParticle - // - void ContainsParticle:: - traverse (Type& c) - { - dispatch (c.particle ()); - } - - - // ContainsCompositor - // - void ContainsCompositor:: - traverse (Type& c) - { - dispatch (c.compositor ()); - } - - - // Compositor - // - void Compositor:: - traverse (Type& c) - { - pre (c); - contains (c); - post (c); - } - - void Compositor:: - pre (Type&) - { - } - - void Compositor:: - contains (Type& c) - { - iterate_and_dispatch ( - c.contains_begin (), c.contains_end (), edge_traverser ()); - } - - void Compositor:: - contains (Type& c, EdgeDispatcher& d) - { - iterate_and_dispatch (c.contains_begin (), c.contains_end (), d); - } - - void Compositor:: - post (Type&) - { - } - - - // All - // - void All:: - traverse (Type& c) - { - pre (c); - contains (c); - post (c); - } - - void All:: - pre (Type&) - { - } - - void All:: - contains (Type& c) - { - iterate_and_dispatch ( - c.contains_begin (), c.contains_end (), edge_traverser ()); - } - - void All:: - contains (Type& c, EdgeDispatcher& d) - { - iterate_and_dispatch (c.contains_begin (), c.contains_end (), d); - } - - void All:: - post (Type&) - { - } - - - // Choice - // - void Choice:: - traverse (Type& c) - { - pre (c); - contains (c); - post (c); - } - - void Choice:: - pre (Type&) - { - } - - void Choice:: - contains (Type& c) - { - iterate_and_dispatch ( - c.contains_begin (), c.contains_end (), edge_traverser ()); - } - - void Choice:: - contains (Type& c, EdgeDispatcher& d) - { - iterate_and_dispatch (c.contains_begin (), c.contains_end (), d); - } - - void Choice:: - post (Type&) - { - } - - - // Sequence - // - void Sequence:: - traverse (Type& c) - { - pre (c); - contains (c); - post (c); - } - - void Sequence:: - pre (Type&) - { - } - - void Sequence:: - contains (Type& c) - { - iterate_and_dispatch ( - c.contains_begin (), c.contains_end (), edge_traverser ()); - } - - void Sequence:: - contains (Type& c, EdgeDispatcher& d) - { - iterate_and_dispatch (c.contains_begin (), c.contains_end (), d); - } - - void Sequence:: - post (Type&) - { - } - } -} |