// -*- C++ -*-
//
// $Id: TypeCode_Case_Enum_T.inl 76551 2007-01-24 13:42:44Z johnnyw $


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

template <typename StringType,
          typename TypeCodeType>
ACE_INLINE
TAO::TypeCode::Case_Enum_T<StringType,
                           TypeCodeType>::Case_Enum_T (CORBA::TypeCode_ptr discriminator_tc,
                                                       CORBA::ULong member_label,
                                                       char const * member_name,
                                                       TypeCodeType member_type)
  : Case<StringType, TypeCodeType> (member_name, member_type)
  , label_ (member_label)
  , discriminator_tc_( CORBA::TypeCode::_duplicate (discriminator_tc) )
{
}

template <typename StringType,
          typename TypeCodeType>
ACE_INLINE
TAO::TypeCode::Case_Enum_T<StringType,
                           TypeCodeType>::Case_Enum_T (CORBA::TypeCode_ptr discriminator_tc,
                                                       CORBA::ULong member_label)
  : Case<StringType, TypeCodeType> ()
  , label_ (member_label)
  , discriminator_tc_( CORBA::TypeCode::_duplicate (discriminator_tc) )
{
}

TAO_END_VERSIONED_NAMESPACE_DECL
