~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/TAO_IDL/be_include/be_visitor_valuetype/field_ch.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- c++ -*- */
2
 
//
3
 
// field_ch.h,v 1.2 1999/06/07 07:54:07 schmidt Exp
4
 
//
5
 
 
6
 
// ============================================================================
7
 
//
8
 
// = LIBRARY
9
 
//    TAO IDL
10
 
//
11
 
// = FILENAME
12
 
//    field_ch.h
13
 
//
14
 
// = DESCRIPTION
15
 
//    Visitor generating code for valuetype fields in the valuetype class
16
 
//    (header).
17
 
//
18
 
// = AUTHOR
19
 
//    Torsten Kuepper  <kuepper2@lfa.uni-wuppertal.de>
20
 
//    derived from be_visitor_union_branch/public_ch.h
21
 
//
22
 
// ============================================================================
23
 
 
24
 
#ifndef _BE_VISITOR_VALUETYPE_FIELD_CH_H_
25
 
#define _BE_VISITOR_VALUETYPE_FIELD_CH_H_
26
 
 
27
 
class be_visitor_valuetype_field_ch : public be_visitor_decl
28
 
{
29
 
  //
30
 
  // = TITLE
31
 
  //    be_visitor_field_ch
32
 
  //
33
 
  // = DESCRIPTION
34
 
  //    Visitor generating code for valuetype fields in the valuetype class
35
 
  //    (header).
36
 
  //
37
 
public:
38
 
  be_visitor_valuetype_field_ch (be_visitor_context *ctx);
39
 
  // constructor
40
 
 
41
 
  ~be_visitor_valuetype_field_ch (void);
42
 
  // destructor
43
 
 
44
 
  virtual int visit_field (be_field *node);
45
 
  // visit the field node
46
 
 
47
 
  // =visit operations on all possible data types that a valuetype
48
 
  //  state member can be.
49
 
 
50
 
  virtual int visit_array (be_array *node);
51
 
  // visit array type
52
 
 
53
 
  virtual int visit_enum (be_enum *node);
54
 
  // visit enum type
55
 
 
56
 
  virtual int visit_interface (be_interface *node);
57
 
  // visit interface type
58
 
 
59
 
  virtual int visit_interface_fwd (be_interface_fwd *node);
60
 
  // visit interface forward type
61
 
 
62
 
  virtual int visit_valuetype (be_valuetype *node);
63
 
  // visit valuetype type
64
 
 
65
 
  virtual int visit_valuetype_fwd (be_valuetype_fwd *node);
66
 
  // visit valuetype forward type
67
 
 
68
 
  virtual int visit_predefined_type (be_predefined_type *node);
69
 
  // visit predefined type
70
 
 
71
 
  virtual int visit_sequence (be_sequence *node);
72
 
  // visit sequence type
73
 
 
74
 
  virtual int visit_string (be_string *node);
75
 
  // visit string type
76
 
 
77
 
  virtual int visit_structure (be_structure *node);
78
 
  // visit structure type
79
 
 
80
 
  virtual int visit_typedef (be_typedef *node);
81
 
  // visit typedefed type
82
 
 
83
 
  virtual int visit_union (be_union *node);
84
 
  // visit union type
85
 
 
86
 
  void setenclosings (const char *pre, const char *post);
87
 
  const char *pre_op ();
88
 
  const char *post_op ();
89
 
  // print additional material around the field (e.g. virtual before)
90
 
 
91
 
private:
92
 
  const char *pre_op_;
93
 
  const char *post_op_;
94
 
};
95
 
 
96
 
#endif /* _BE_VISITOR_VALUETYPE_FIELD_CH_H_ */