summaryrefslogtreecommitdiff
path: root/TAO_IDL/be_include/be_visitor_component/executor_exs_attr_init.h
blob: bf8ef5f958303a40abef975070abdf11a3ed05be (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
/* -*- c++ -*- */
//=============================================================================
/**
 *  @file    executor_exs_attr_init.h
 *
 *  $Id$
 *
 *  This provides code generation in the exec impl source for
 *  the attribute members' initialization in the constructor.
 *
 *
 *  @author Jeff Parsons
 */
//=============================================================================


#ifndef _BE_COMPONENT_EXECUTOR_EXS_ATTR_INIT_H_
#define _BE_COMPONENT_EXECUTOR_EXS_ATTR_INIT_H_

/**
 * This is a concrete visitor to generate
 * the executor attribute members' initialization
 * in the constructor.
 */
class be_visitor_executor_exs_attr_init
  : public be_visitor_component_scope
{
public:
  be_visitor_executor_exs_attr_init (be_visitor_context *ctx);
  ~be_visitor_executor_exs_attr_init (void);

  virtual int visit_attribute (be_attribute *node);

  virtual int pre_process (be_decl *);

  bool attr_generated (void) const;

private:
  bool semicolon_generated_;
};

#endif /* _BE_COMPONENT_EXECUTOR_EXS_ATTR_INIT_H_ */