⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psdl_struct_visitor.h

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 H
字号:
/* -*- C++ -*- */
// PSDL_Struct_Visitor.h,v 1.2 2003/07/21 23:51:30 dhinton Exp
//
// ============================================================================
//
// = LIBRARY
//    PSS
//
// = FILENAME
//    PSDL_Struct_Visitor.h
//
// = AUTHOR
//    Priyanka Gontla <gontla_p@ociweb.com>
//
// ============================================================================

#ifndef TAO_PSDL_STRUCT_VISITOR_H
#define TAO_PSDL_STRUCT_VISITOR_H

#include /**/ "ace/pre.h"

#include "PSDL_Node_Visitor.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class TAO_PSDL_Struct_Visitor : public TAO_PSDL_Node_Visitor
{
 public:

  TAO_PSDL_Struct_Visitor ();

  ~TAO_PSDL_Struct_Visitor ();

  int visit_identifier (TAO_PSDL_Identifier *identifier);

  int visit_type_spec (TAO_PSDL_Type_Spec *type_spec);

  int visit_declarator (TAO_PSDL_Declarator *declarator);

  // For structs
  int visit_predefined_type (TAO_PSDL_Predefined_Type *predefined_type);

  // Generate the code that should go into the stub implementation
  // file for the type_declarators.
  void gen_code_for_si (void);

  // Generate the code that should go into the stub inline
  // file for the type_declarators.
  void gen_code_for_sinline (void);

 private:
  void print_class_for_structure (ACE_CString struct_name);

  // Counter to help print the type_specs and declarators of a
  // structure.
  int identifiers_count_;

  // structure_name
  const char *struct_name_;
};

#include /**/ "ace/post.h"

#endif /* TAO_PSDL_STRUCT_VISITOR_H */

⌨️ 快捷键说明

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