summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl
blob: 519abb929e49faa806aa2c156dd95f2d7001518f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL

template <typename TypeCodeType, class RefCountPolicy>
ACE_INLINE
TAO::TypeCode::Sequence<TypeCodeType, RefCountPolicy>::Sequence (
  CORBA::TCKind kind,
  TypeCodeType const & content_type,
  CORBA::ULong length)
  : ::CORBA::TypeCode (kind)
  , RefCountPolicy ()
  , content_type_ (content_type)
  , length_ (length)
{
  // ACE_ASSERT (kind == CORBA::tk_array || kind == CORBA::tk_sequence);
}

TAO_END_VERSIONED_NAMESPACE_DECL