summaryrefslogtreecommitdiff
path: root/TAO/tao/Bounded_String_Sequence_T.h
blob: 9f6373343b6a570ed51b4b5c70fbbd2582908aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef guard_bounded_string_sequence_hpp
#define guard_bounded_string_sequence_hpp
/**
 * @file
 *
 * @brief Implement bounded sequences for strings.
 *
 * $Id$
 *
 * @author Carlos O'Ryan
 */

#include "tao/Bounded_Basic_String_Sequence_T.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{

template<CORBA::ULong MAX>
class bounded_string_sequence
  : public details::bounded_basic_string_sequence<char,MAX>
{
public:
  inline bounded_string_sequence()
    : details::bounded_basic_string_sequence<char,MAX>()
  {}
  inline bounded_string_sequence(
      CORBA::ULong length,
      char * * data,
      CORBA::Boolean release = false)
    : details::bounded_basic_string_sequence<char,MAX>(
        length, data, release)
  {}
};


} // namespace TAO

TAO_END_VERSIONED_NAMESPACE_DECL

#endif // guard_bounded_string_sequence_hpp