diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp deleted file mode 100644 index 3261a380750..00000000000 --- a/TAO/orbsvcs/orbsvcs/IFRService/TypedefDef_i.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ - -#include "orbsvcs/IFRService/Repository_i.h" -#include "orbsvcs/IFRService/TypedefDef_i.h" - -#include "ace/SString.h" - - -ACE_RCSID (IFRService, - TypedefDef_i, - "$Id$") - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_TypedefDef_i::TAO_TypedefDef_i ( - TAO_Repository_i *repo - ) - : TAO_IRObject_i (repo), - TAO_Contained_i (repo), - TAO_IDLType_i (repo) -{ -} - -TAO_TypedefDef_i::~TAO_TypedefDef_i (void) -{ -} - -CORBA::Contained::Description * -TAO_TypedefDef_i::describe (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - TAO_IFR_READ_GUARD_RETURN (0); - - this->update_key (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (0); - - return this->describe_i (ACE_ENV_SINGLE_ARG_PARAMETER); -} - -CORBA::Contained::Description * -TAO_TypedefDef_i::describe_i (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - CORBA::Contained::Description *desc_ptr = 0; - ACE_NEW_THROW_EX (desc_ptr, - CORBA::Contained::Description, - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (0); - - CORBA::Contained::Description_var retval = desc_ptr; - - retval->kind = this->def_kind (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (0); - - CORBA::TypeDescription td; - - ACE_CHECK_RETURN (0); - td.name = this->name_i (ACE_ENV_SINGLE_ARG_PARAMETER); - - td.id = this->id_i (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (0); - - ACE_TString container_id; - - this->repo_->config ()->get_string_value (this->section_key_, - "container_id", - container_id); - - td.defined_in = container_id.c_str (); - - td.version = this->version_i (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (0); - - td.type = this->type_i (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (0); - - retval->value <<= td; - - return retval._retn (); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |