From a08f2455df890ea3fbd7d6d58cf9131ece8d918d Mon Sep 17 00:00:00 2001 From: parsons Date: Thu, 6 Jul 2000 17:42:57 +0000 Subject: New IFR implementation files. --- TAO/orbsvcs/IFR_Service/ArrayDef_i.h | 118 +++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 TAO/orbsvcs/IFR_Service/ArrayDef_i.h (limited to 'TAO/orbsvcs/IFR_Service/ArrayDef_i.h') diff --git a/TAO/orbsvcs/IFR_Service/ArrayDef_i.h b/TAO/orbsvcs/IFR_Service/ArrayDef_i.h new file mode 100644 index 00000000000..e955280f767 --- /dev/null +++ b/TAO/orbsvcs/IFR_Service/ArrayDef_i.h @@ -0,0 +1,118 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/orbsvcs/IFR_Service +// +// = FILENAME +// ArrayDef_i.h +// +// = DESCRIPTION +// IR::ArrayDef servant class. +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ + +#ifndef TAO_ARRAYDEF_I_H +#define TAO_ARRAYDEF_I_H + +#include "IDLType_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_ArrayDef_i : public virtual TAO_IDLType_i +{ + // = TITLE + // TAO_ArrayDef_i + // + // = DESCRIPTION + // Represents an IDL array type. + // +public: + TAO_ArrayDef_i (TAO_Repository_i *repo, + ACE_Configuration_Section_Key section_key); + // Constructor + + virtual ~TAO_ArrayDef_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 CORBA::TypeCode_ptr type ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::ULong length ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void length ( + CORBA::ULong length, + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::TypeCode_ptr element_type ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual IR::IDLType_ptr element_type_def ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void element_type_def ( + IR::IDLType_ptr element_type_def, + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + void destroy_element_type ( + CORBA::Environment &ACE_TRY_ENV = + TAO_default_environment () + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Destroys an anonymous non-primitive element type. +}; + +#if defined(_MSC_VER) && (_MSC_VER >= 1200) +#pragma warning(pop) +#endif /* _MSC_VER */ + +#endif /* TAO_ARRAYDEF_I_H */ + -- cgit v1.2.1