Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Unbounded_BD_String_Sequence_T.h
blob9dd15142521474a3c7de89e0b6a91a1f841704ff
1 #ifndef guard_unbounded_bd_string_sequence_hpp
2 #define guard_unbounded_bd_string_sequence_hpp
3 /**
4 * @file
6 * @brief Implement unbounded sequences for bounded strings and wide-strings.
8 * @author Vladimir Zykov
9 */
10 #include "tao/Unbounded_Basic_String_Sequence_T.h"
12 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
14 namespace TAO
16 template<typename charT, CORBA::ULong BD_STR_MAX>
17 class unbounded_bd_string_sequence
18 : public unbounded_basic_string_sequence<charT>
20 public:
21 inline unbounded_bd_string_sequence()
22 : unbounded_basic_string_sequence<charT>()
25 inline explicit unbounded_bd_string_sequence(CORBA::ULong maximum)
26 : unbounded_basic_string_sequence<charT>(maximum)
28 inline unbounded_bd_string_sequence(
29 CORBA::ULong maximum,
30 CORBA::ULong length,
31 typename unbounded_basic_string_sequence<charT>::value_type * data,
32 CORBA::Boolean release)
33 : unbounded_basic_string_sequence<charT>(maximum, length, data, release)
36 inline CORBA::ULong bd_string_maximum() const
38 return BD_STR_MAX;
41 } // namespace TAO
43 TAO_END_VERSIONED_NAMESPACE_DECL
45 #endif // guard_unbounded_bd_string_sequence_hpp