2
// TypedefDef_i.cpp,v 1.3 2003/03/12 16:17:51 parsons Exp
4
#include "Repository_i.h"
5
#include "TypedefDef_i.h"
9
"TypedefDef_i.cpp,v 1.3 2003/03/12 16:17:51 parsons Exp")
11
TAO_TypedefDef_i::TAO_TypedefDef_i (
12
TAO_Repository_i *repo
14
: TAO_IRObject_i (repo),
15
TAO_Contained_i (repo),
20
TAO_TypedefDef_i::~TAO_TypedefDef_i (void)
24
CORBA::Contained::Description *
25
TAO_TypedefDef_i::describe (ACE_ENV_SINGLE_ARG_DECL)
26
ACE_THROW_SPEC ((CORBA::SystemException))
28
TAO_IFR_READ_GUARD_RETURN (0);
30
this->update_key (ACE_ENV_SINGLE_ARG_PARAMETER);
33
return this->describe_i (ACE_ENV_SINGLE_ARG_PARAMETER);
36
CORBA::Contained::Description *
37
TAO_TypedefDef_i::describe_i (ACE_ENV_SINGLE_ARG_DECL)
38
ACE_THROW_SPEC ((CORBA::SystemException))
40
CORBA::Contained::Description *desc_ptr = 0;
41
ACE_NEW_THROW_EX (desc_ptr,
42
CORBA::Contained::Description,
46
CORBA::Contained::Description_var retval = desc_ptr;
48
retval->kind = this->def_kind (ACE_ENV_SINGLE_ARG_PARAMETER);
51
CORBA::TypeDescription td;
54
td.name = this->name_i (ACE_ENV_SINGLE_ARG_PARAMETER);
56
td.id = this->id_i (ACE_ENV_SINGLE_ARG_PARAMETER);
59
ACE_TString container_id;
61
this->repo_->config ()->get_string_value (this->section_key_,
65
td.defined_in = container_id.c_str ();
67
td.version = this->version_i (ACE_ENV_SINGLE_ARG_PARAMETER);
70
td.type = this->type_i (ACE_ENV_SINGLE_ARG_PARAMETER);
75
return retval._retn ();