diff options
Diffstat (limited to 'TAO/TAO_IDL/include/ast_eventtype.h')
-rw-r--r-- | TAO/TAO_IDL/include/ast_eventtype.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/include/ast_eventtype.h b/TAO/TAO_IDL/include/ast_eventtype.h new file mode 100644 index 00000000000..d1fe9509207 --- /dev/null +++ b/TAO/TAO_IDL/include/ast_eventtype.h @@ -0,0 +1,44 @@ +// This may look like C, but it's really -*- C++ -*- +// $Id$ + +#ifndef _AST_VALUETYPE_AST_EVENTTYPE_HH +#define _AST_VALUETYPE_AST_EVENTTYPE_HH + +#include "ast_valuetype.h" + +class TAO_IDL_FE_Export AST_EventType : public virtual AST_ValueType +{ +public: + AST_EventType (void); + + AST_EventType (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, + bool abstract, + bool truncatable, + bool custom); + + virtual ~AST_EventType (void); + + // Cleanup function. + virtual void destroy (void); + + // Narrowing. + DEF_NARROW_METHODS1(AST_EventType, AST_ValueType); + DEF_NARROW_FROM_DECL(AST_EventType); + DEF_NARROW_FROM_SCOPE(AST_EventType); + + // AST Dumping. + virtual void dump (ACE_OSTREAM_TYPE &o); + + // Visiting. + virtual int ast_accept (ast_visitor *visitor); +}; + +#endif // _AST_VALUETYPE_AST_EVENTTYPE_HH |