HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_BinaryString.h
Go to the documentation of this file.
1 #ifndef __HOM_BinaryString_h__
2 #define __HOM_BinaryString_h__
3 
4 #ifdef SWIG
5 class HOM_BinaryString;
6 
7 %typemaps_std_string(HOM_BinaryString, char, SWIG_AsCharPtrAndSize, SWIG_FromBinaryCharPtrAndSize, %checkcode(STDSTRING));
8 %traits_ptypen(HOM_BinaryString);
9 #else
10 #include <string>
11 
13 {
14  public:
16  : std::string() {}
17 
18  HOM_BinaryString(const value_type* __s, size_type __n,
19  const allocator_type& __a = allocator_type())
20  : std::string(__s, __n, __a) {}
21 
23  const value_type* __s,
24  const allocator_type& __a = allocator_type())
25  : std::string(__s, __a) {}
26 
28  size_type __n, value_type __c,
29  const allocator_type& __a = allocator_type())
30  : std::string(__n, __c, __a) {}
31 
33  : std::string(s) {}
34 
35  template<class _InputIterator>
36  HOM_BinaryString(_InputIterator __beg, _InputIterator __end,
37  const allocator_type& __a = allocator_type())
38  : std::string(__beg, __end, __a) {}
39 };
40 #endif
41 
42 #endif
HOM_BinaryString(size_type __n, value_type __c, const allocator_type &__a=allocator_type())
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
HOM_BinaryString(const std::string &s)
uint64 value_type
Definition: GA_PrimCompat.h:29
HOM_BinaryString(const value_type *__s, size_type __n, const allocator_type &__a=allocator_type())
HOM_BinaryString(_InputIterator __beg, _InputIterator __end, const allocator_type &__a=allocator_type())
HOM_BinaryString(const value_type *__s, const allocator_type &__a=allocator_type())