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/LocalInterfaceDef_i.cpp | |
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/LocalInterfaceDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp new file mode 100644 index 00000000000..8443fc29d69 --- /dev/null +++ b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp @@ -0,0 +1,55 @@ +/* -*- C++ -*- */ +// $Id$ + +#include "LocalInterfaceDef_i.h" +#include "Repository_i.h" + +ACE_RCSID(IFR_Service, LocalInterfaceDef_i, "$Id$") + +TAO_LocalInterfaceDef_i::TAO_LocalInterfaceDef_i ( + TAO_Repository_i *repo, + ACE_Configuration_Section_Key section_key + ) + : TAO_IRObject_i (repo, section_key), + TAO_Container_i (repo, section_key), + TAO_Contained_i (repo, section_key), + TAO_IDLType_i (repo, section_key), + TAO_InterfaceDef_i (repo, section_key) +{ +} + +TAO_LocalInterfaceDef_i::~TAO_LocalInterfaceDef_i (void) +{ +} + +CORBA::DefinitionKind +TAO_LocalInterfaceDef_i::def_kind (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return CORBA::dk_LocalInterface; +} + +CORBA::Boolean +TAO_LocalInterfaceDef_i::is_a (const char *interface_id + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_READ_GUARD_RETURN (0); + + return this->is_a_i (interface_id + ACE_ENV_ARG_PARAMETER); +} + +CORBA::Boolean +TAO_LocalInterfaceDef_i::is_a_i (const char *interface_id + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + if (ACE_OS::strcmp (interface_id, "IDL:omg.org/CORBA/LocalBase:1.0") == 0) + { + return 1; + } + + return this->TAO_InterfaceDef_i::is_a_i (interface_id + ACE_ENV_ARG_PARAMETER); +} |