summaryrefslogtreecommitdiff
path: root/TAO/tao/Bounded_Wstring_Sequence_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Bounded_Wstring_Sequence_T.h')
-rw-r--r--TAO/tao/Bounded_Wstring_Sequence_T.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/tao/Bounded_Wstring_Sequence_T.h b/TAO/tao/Bounded_Wstring_Sequence_T.h
new file mode 100644
index 00000000000..c0ed84f289e
--- /dev/null
+++ b/TAO/tao/Bounded_Wstring_Sequence_T.h
@@ -0,0 +1,42 @@
+#ifndef guard_bounded_wstring_sequence_hpp
+#define guard_bounded_wstring_sequence_hpp
+/**
+ * @file
+ *
+ * @brief Implement bounded sequences for wstrings.
+ *
+ * $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_wstring_sequence
+ : public details::bounded_basic_string_sequence<CORBA::WChar,MAX>
+{
+public:
+ inline bounded_wstring_sequence()
+ : details::bounded_basic_string_sequence<CORBA::WChar,MAX>()
+ {}
+ inline bounded_wstring_sequence(
+ CORBA::ULong length,
+ CORBA::WChar * * data,
+ CORBA::Boolean release = false)
+ : details::bounded_basic_string_sequence<CORBA::WChar,MAX>(
+ length, data, release)
+ {}
+};
+
+
+} // namespace TAO
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#endif // guard_bounded_wstring_sequence_hpp