ast_valuetype.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 73 行
H
73 行
// This may look like C, but it's really -*- C++ -*-
// ast_valuetype.h,v 1.4 2003/10/28 18:30:41 bala Exp
#ifndef _AST_INTERFACE_AST_VALUETYPE_HH
#define _AST_INTERFACE_AST_VALUETYPE_HH
#include "ast_interface.h"
class TAO_IDL_FE_Export AST_ValueType : public virtual AST_Interface
{
public:
AST_ValueType (void);
AST_ValueType (UTL_ScopedName *n,
AST_Interface **inherits,
long n_inherits,
AST_ValueType *inherits_concrete,
AST_Interface **inherits_flat,
long n_inherits_flat,
AST_Interface **supports,
long n_supports,
AST_Interface *supports_concrete,
idl_bool abstract,
idl_bool truncatable,
idl_bool custom);
virtual ~AST_ValueType (void);
// This also calls the base class version.
virtual void redefine (AST_Interface *from);
AST_Interface **supports (void) const;
long n_supports (void) const;
AST_ValueType *inherits_concrete (void) const;
AST_Interface *supports_concrete (void) const;
idl_bool truncatable (void) const;
idl_bool custom (void) const;
virtual idl_bool will_have_factory (void);
// Called from y.tab.cpp to set the factory decl seen bit.
// Cleanup function.
virtual void destroy (void);
// Narrowing.
DEF_NARROW_METHODS1(AST_ValueType, AST_Interface);
DEF_NARROW_FROM_DECL(AST_ValueType);
DEF_NARROW_FROM_SCOPE(AST_ValueType);
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
protected:
AST_Interface **pd_supports;
long pd_n_supports;
AST_ValueType *pd_inherits_concrete;
AST_Interface *pd_supports_concrete;
idl_bool pd_truncatable;
idl_bool pd_custom;
virtual AST_Factory *fe_add_factory (AST_Factory *f);
};
#endif // _AST_INTERFACE_AST_VALUETYPE_HH
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?