summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/IDL2/Traversal/Sequence.cpp
blob: bc06e04a8fe2de0df2451a3466f9fe3c46b8332b (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// 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
    {

      void UnboundedSequence::
      traverse (Type& us)
      {
        pre (us);
        specialized (us);
        name (us);
        post (us);
      }

      void UnboundedSequence::
      pre (Type&)
      {
      }

      void UnboundedSequence::
      specialized (Type& us, EdgeDispatcherBase& d)
      {
        d.traverse (us.specialized ());
      }

      void UnboundedSequence::
      specialized (Type& us)
      {
        specialized (us, edge_traverser ());
      }

      void UnboundedSequence::
      name (Type&)
      {
      }

      void UnboundedSequence::
      post (Type&)
      {
      }
    }
  }
}