Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Bounded_BD_String_Sequence_T.h
blob832aac3dc31e65a9c02e81dcf64dbd1d1357eaa9
1 #ifndef guard_bounded_bd_string_sequence_hpp
2 #define guard_bounded_bd_string_sequence_hpp
3 /**
4 * @file
6 * @brief Implement bounded sequences for bounded strings and wide-strings.
8 * @author Vladimir Zykov
9 */
10 #include "tao/Bounded_Basic_String_Sequence_T.h"
12 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
14 namespace TAO
16 template<typename charT, CORBA::ULong MAX, CORBA::ULong BD_STR_MAX>
17 class bounded_bd_string_sequence
18 : public bounded_basic_string_sequence<charT, MAX>
20 public:
21 inline bounded_bd_string_sequence()
22 : bounded_basic_string_sequence<charT, MAX>()
25 inline bounded_bd_string_sequence(
26 CORBA::ULong length,
27 typename bounded_basic_string_sequence<charT, MAX>::value_type * data,
28 CORBA::Boolean release)
29 : bounded_basic_string_sequence<charT, MAX>(length, data, release)
32 inline CORBA::ULong bd_string_maximum() const
34 return BD_STR_MAX;
37 } // namespace TAO
39 TAO_END_VERSIONED_NAMESPACE_DECL
41 #endif // guard_bounded_bd_string_sequence_hpp