union.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 53 行

H
53
字号
/* -*- c++ -*- */
//
// union.h,v 1.2 1998/10/20 02:32:37 levine Exp
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    union.h
//
// = DESCRIPTION
//     Visitor for the Union class.
//     This one is a generic visitor.
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#ifndef _BE_VISITOR_UNION_UNION_H_
#define _BE_VISITOR_UNION_UNION_H_

class be_visitor_union : public be_visitor_scope
{
  //
  // = TITLE
  //   be_visitor_union
  //
  // = DESCRIPTION
  //   This is the base visitor for union
  //
  //
public:
  be_visitor_union (be_visitor_context *ctx);
  // constructor

  ~be_visitor_union (void);
  // destructor

  virtual int visit_union (be_union *node);
  // visit union. We provide code for this method in the derived class

  // =visit operations on syntactically valid elements in our scope

  virtual int visit_union_branch (be_union_branch *node);
  // visit union_branch
};

#endif /* _BE_VISITOR_UNION_UNION_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?