diff options
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/ExceptionDef_i.h')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/ExceptionDef_i.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h new file mode 100644 index 00000000000..e7a40809f8d --- /dev/null +++ b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h @@ -0,0 +1,99 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/orbsvcs/IFR_Service +// +// = FILENAME +// ExceptionDef_i.h +// +// = DESCRIPTION +// IR::ExceptionDef servant class. +// +// = AUTHOR +// Jeff Parsons <parsons@cs.wustl.edu> +// +// ============================================================================ + +#ifndef TAO_EXCEPTIONDEF_I_H +#define TAO_EXCEPTIONDEF_I_H + +#include "Contained_i.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#if defined(_MSC_VER) +#if (_MSC_VER >= 1200) +#pragma warning(push) +#endif /* _MSC_VER >= 1200 */ +#pragma warning(disable:4250) +#endif /* _MSC_VER */ + +class TAO_ExceptionDef_i : public virtual TAO_Contained_i, + public virtual TAO_Container_i +{ + // = TITLE + // TAO_ExceptionDef_i + // + // = DESCRIPTION + // Represents an exception definition. + // +public: + TAO_ExceptionDef_i (TAO_Repository_i *repo, + ACE_Configuration_Section_Key section_key); + // Constructor + + virtual ~TAO_ExceptionDef_i (void); + // Destructor + + virtual IR::DefinitionKind def_kind ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Return our definition kind. + + virtual void destroy ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Remove the repository entry. + + virtual IR::Contained::Description *describe ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + // From Contained_i's pure virtual function. + + virtual CORBA::TypeCode_ptr type ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual IR::StructMemberSeq *members ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void members ( + const IR::StructMemberSeq & members, + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); +}; + +#if defined(_MSC_VER) && (_MSC_VER >= 1200) +#pragma warning(pop) +#endif /* _MSC_VER */ + +#endif /* TAO_EXCEPTIONDEF_I_H */ + |