summaryrefslogtreecommitdiff
path: root/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp')
-rw-r--r--CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp111
1 files changed, 0 insertions, 111 deletions
diff --git a/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp b/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
deleted file mode 100644
index c781cdcfb97..00000000000
--- a/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
-// file : CCF/IDL2/Traversal/Sequence.cpp
-// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
-// cvs-id : $Id$
-
-#include "CCF/IDL2/Traversal/Sequence.hpp"
-
-namespace CCF
-{
- namespace IDL2
- {
- namespace Traversal
- {
-
- // UnboundedSequence
- //
-
- void UnboundedSequence::
- traverse (Type& us)
- {
- pre (us);
- arguments_with_type (us);
- name (us);
- post (us);
- }
-
- void UnboundedSequence::
- pre (Type&)
- {
- }
-
- void UnboundedSequence::
- arguments_with_type (Type& us, EdgeDispatcherBase& d)
- {
- d.traverse (**us.arguments_begin ());
- }
-
- void UnboundedSequence::
- arguments_with_type (Type& us)
- {
- arguments_with_type (us, edge_traverser ());
- }
-
- void UnboundedSequence::
- name (Type&)
- {
- }
-
- void UnboundedSequence::
- post (Type&)
- {
- }
-
-
- // BoundedSequence
- //
-
- void BoundedSequence::
- traverse (Type& bs)
- {
- pre (bs);
- arguments_with_type (bs);
- arguments_with_value (bs);
- name (bs);
- post (bs);
- }
-
- void BoundedSequence::
- pre (Type&)
- {
- }
-
- void BoundedSequence::
- arguments_with_type (Type& bs, EdgeDispatcherBase& d)
- {
- d.traverse (**bs.arguments_begin ());
- }
-
- void BoundedSequence::
- arguments_with_type (Type& bs)
- {
- arguments_with_type (bs, edge_traverser ());
- }
-
- void BoundedSequence::
- arguments_with_value (Type& bs, EdgeDispatcherBase& d)
- {
- Type::ArgumentsIterator i (bs.arguments_begin ());
-
- ++i; // Bound is always second to the type.
-
- d.traverse (**i);
- }
-
- void BoundedSequence::
- arguments_with_value (Type& bs)
- {
- arguments_with_value (bs, edge_traverser ());
- }
-
- void BoundedSequence::
- name (Type&)
- {
- }
-
- void BoundedSequence::
- post (Type&)
- {
- }
- }
- }
-}