Go to the documentation of this file.00001
00002
00003
00004
00005 #include "tao/AnyTypeCode/TypeCode_Traits.h"
00006
00007 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00008
00009 template <typename STRING_TYPE>
00010 ACE_INLINE
00011 TAO::TypeCode::Base_Attributes<STRING_TYPE>::Base_Attributes (
00012 char const * id,
00013 char const * name)
00014 : id_ (id),
00015 name_ (name)
00016 {
00017 }
00018
00019 template <typename STRING_TYPE>
00020 ACE_INLINE
00021 TAO::TypeCode::Base_Attributes<STRING_TYPE>::Base_Attributes (
00022 char const * id)
00023 : id_ (id),
00024 name_ ()
00025 {
00026
00027
00028 }
00029
00030 template <typename STRING_TYPE>
00031 ACE_INLINE char const *
00032 TAO::TypeCode::Base_Attributes<STRING_TYPE>::id (void) const
00033 {
00034 return Traits<STRING_TYPE>::get_string (this->id_);
00035 }
00036
00037 template <typename STRING_TYPE>
00038 ACE_INLINE char const *
00039 TAO::TypeCode::Base_Attributes<STRING_TYPE>::name (void) const
00040 {
00041 return Traits<STRING_TYPE>::get_string (this->name_);
00042 }
00043
00044 template <typename STRING_TYPE>
00045 ACE_INLINE void
00046 TAO::TypeCode::Base_Attributes<STRING_TYPE>::name (char const * the_name)
00047 {
00048
00049
00050
00051 this->name_ = the_name;
00052 }
00053
00054 TAO_END_VERSIONED_NAMESPACE_DECL