Go to the documentation of this file.00001
00002
00003
00004
00005
00006 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00007
00008 template <typename StringType,
00009 typename TypeCodeType>
00010 ACE_INLINE
00011 TAO::TypeCode::Case_Enum_T<StringType,
00012 TypeCodeType>::Case_Enum_T (CORBA::TypeCode_ptr discriminator_tc,
00013 CORBA::ULong member_label,
00014 char const * member_name,
00015 TypeCodeType member_type)
00016 : Case<StringType, TypeCodeType> (member_name, member_type)
00017 , label_ (member_label)
00018 , discriminator_tc_( CORBA::TypeCode::_duplicate (discriminator_tc) )
00019 {
00020 }
00021
00022 template <typename StringType,
00023 typename TypeCodeType>
00024 ACE_INLINE
00025 TAO::TypeCode::Case_Enum_T<StringType,
00026 TypeCodeType>::Case_Enum_T (CORBA::TypeCode_ptr discriminator_tc,
00027 CORBA::ULong member_label)
00028 : Case<StringType, TypeCodeType> ()
00029 , label_ (member_label)
00030 , discriminator_tc_( CORBA::TypeCode::_duplicate (discriminator_tc) )
00031 {
00032 }
00033
00034 TAO_END_VERSIONED_NAMESPACE_DECL