diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-20 14:32:29 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-20 14:32:29 +0000 |
commit | 313d763c57f0116ae8a4d516a339356e20578e19 (patch) | |
tree | 2f3d376496d8634487d22da4494ba47b13cedee8 /TAO/orbsvcs/IFR_Service/StructDef_i.h | |
parent | 5cb0ff6546c403f37cca5ec8228c1c4c6b08b300 (diff) | |
download | ATCD-313d763c57f0116ae8a4d516a339356e20578e19.tar.gz |
This commit was manufactured by cvs2svn to create branchOS-h_refactor
'OS-h_refactor'.
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/StructDef_i.h')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/StructDef_i.h | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/TAO/orbsvcs/IFR_Service/StructDef_i.h b/TAO/orbsvcs/IFR_Service/StructDef_i.h new file mode 100644 index 00000000000..cf3836abc29 --- /dev/null +++ b/TAO/orbsvcs/IFR_Service/StructDef_i.h @@ -0,0 +1,111 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/orbsvcs/IFR_Service +// +// = FILENAME +// StructDef_i.h +// +// = DESCRIPTION +// StructDef servant class. +// +// = AUTHOR +// Jeff Parsons <parsons@cs.wustl.edu> +// +// ============================================================================ + +#ifndef TAO_STRUCTDEF_I_H +#define TAO_STRUCTDEF_I_H + +#include "TypedefDef_i.h" +#include "Container_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_StructDef_i : public virtual TAO_TypedefDef_i, + public virtual TAO_Container_i +{ + // = TITLE + // TAO_StructDef_i + // + // = DESCRIPTION + // Represents an OMG IDL structure definition. + // +public: + TAO_StructDef_i (TAO_Repository_i *repo, + ACE_Configuration_Section_Key section_key); + // Constructor + + virtual ~TAO_StructDef_i (void); + // Destructor + + virtual CORBA::DefinitionKind def_kind ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + // Return our definition kind. + + virtual void destroy ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + // Remove the repository entry and its contents. + + virtual void destroy_i ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::TypeCode_ptr type ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + // From IDLType_i's pure virtual function. + + virtual CORBA::TypeCode_ptr type_i ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + // From IDLType_i's pure virtual function. + + virtual CORBA_StructMemberSeq *members ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + + CORBA_StructMemberSeq *members_i ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void members ( + const CORBA_StructMemberSeq &members + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); + + void members_i ( + const CORBA_StructMemberSeq &members + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC ((CORBA::SystemException)); +}; + +#if defined(_MSC_VER) && (_MSC_VER >= 1200) +#pragma warning(pop) +#endif /* _MSC_VER */ + +#endif /* TAO_STRUCTDEF_I_H */ + |