diff options
Diffstat (limited to 'modules/TAO/TAO_IDL/include/ast_extended_port.h')
-rw-r--r-- | modules/TAO/TAO_IDL/include/ast_extended_port.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/TAO/TAO_IDL/include/ast_extended_port.h b/modules/TAO/TAO_IDL/include/ast_extended_port.h new file mode 100644 index 00000000000..1c677e91261 --- /dev/null +++ b/modules/TAO/TAO_IDL/include/ast_extended_port.h @@ -0,0 +1,44 @@ +// -*- C++ -*- +// $Id$ + +#ifndef AST_EXTENDED_PORT_H +#define AST_EXTENDED_PORT_H + +#include "ast_field.h" + +class AST_PortType; +class UTL_NameList; + +class TAO_IDL_FE_Export AST_Extended_Port + : public virtual AST_Field +{ +public: + AST_Extended_Port ( + UTL_ScopedName *n, + AST_PortType *porttype_ref, + UTL_NameList *template_args); + + virtual ~AST_Extended_Port (void); + + AST_PortType *port_type (void) const; + UTL_NameList *template_args (void) const; + + // Cleanup function. + virtual void destroy (void); + + // Narrowing. + + DEF_NARROW_FROM_DECL (AST_Extended_Port); + + // AST Dumping. + virtual void dump (ACE_OSTREAM_TYPE &o); + + // Visiting. + virtual int ast_accept (ast_visitor *visitor); + +protected: + UTL_NameList *template_args_; +}; + +#endif /* AST_EXTENDED_PORT_H */ + |