diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/AnyTypeCode/Sequence_TypeCode.inl | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/AnyTypeCode/Sequence_TypeCode.inl')
-rw-r--r-- | TAO/tao/AnyTypeCode/Sequence_TypeCode.inl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl b/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl new file mode 100644 index 00000000000..eced0644709 --- /dev/null +++ b/TAO/tao/AnyTypeCode/Sequence_TypeCode.inl @@ -0,0 +1,27 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template <typename TypeCodeType, class RefCountPolicy> +ACE_INLINE +TAO::TypeCode::Sequence<TypeCodeType, RefCountPolicy>::Sequence ( + CORBA::TCKind kind, +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x572) + // Borland C++ currently can't handle a reference to + // const pointer to const CORBA::TypeCode_ptr + TypeCodeType content_type, +#else + TypeCodeType const & content_type, +#endif + 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 |