summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp')
-rw-r--r--TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp70
1 files changed, 5 insertions, 65 deletions
diff --git a/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp b/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
index c781cdcfb97..bc06e04a8fe 100644
--- a/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
+++ b/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
@@ -11,14 +11,11 @@ namespace CCF
namespace Traversal
{
- // UnboundedSequence
- //
-
void UnboundedSequence::
traverse (Type& us)
{
pre (us);
- arguments_with_type (us);
+ specialized (us);
name (us);
post (us);
}
@@ -29,15 +26,15 @@ namespace CCF
}
void UnboundedSequence::
- arguments_with_type (Type& us, EdgeDispatcherBase& d)
+ specialized (Type& us, EdgeDispatcherBase& d)
{
- d.traverse (**us.arguments_begin ());
+ d.traverse (us.specialized ());
}
void UnboundedSequence::
- arguments_with_type (Type& us)
+ specialized (Type& us)
{
- arguments_with_type (us, edge_traverser ());
+ specialized (us, edge_traverser ());
}
void UnboundedSequence::
@@ -49,63 +46,6 @@ namespace CCF
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&)
- {
- }
}
}
}