summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_attribute.h
blob: 6db40e2a69331be4c3c4f050e430af0f9e3b9840 (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
52
53
54
55
56
/* -*- c++ -*- */
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    be_visitor_attribute.h
//
// = DESCRIPTION
//    Concrete visitor for the Attribute class
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#if !defined (TAO_BE_VISITOR_ATTRIBUTE_H)
#define TAO_BE_VISITOR_ATTRIBUTE_H

#include "be_visitor.h"
#include "be_visitor_scope.h"

// ************************************************************
// Attribute visitor
// ************************************************************

class be_visitor_attribute : public be_visitor_decl
{
  //
  // = TITLE
  //   be_visitor_attribute
  //
  // = DESCRIPTION
  //   This is a concrete visitor to generate code for attributes. We have one
  //   class for mapping into the client and server.
  //
  //
public:
  be_visitor_attribute (be_visitor_context *ctx);
  // constructor

  ~be_visitor_attribute (void);
  // destructor

  virtual int visit_attribute (be_attribute *node);
  // visit attribute. We provide code for this method in the derived class

};


#endif