HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 #if defined(USE_PYTHON3)
8 %typemaps_std_string(
9  HOM_BinaryString, char, SWIG_AsHOMBinaryCharPtrAndSize,
10  SWIG_FromHOMBinaryCharPtrAndSize, %checkcode(STDSTRING));
11 #else
12 %typemaps_std_string(
13  HOM_BinaryString, char, SWIG_AsCharPtrAndSize,
14  SWIG_FromBinaryCharPtrAndSize, %checkcode(STDSTRING));
15 #endif
16 
17 
18 %traits_ptypen(HOM_BinaryString);
19 #else
20 #include <string>
21 
23 {
24  public:
26  : std::string() {}
27 
28  HOM_BinaryString(const value_type* __s, size_type __n,
29  const allocator_type& __a = allocator_type())
30  : std::string(__s, __n, __a) {}
31 
33  const value_type* __s,
34  const allocator_type& __a = allocator_type())
35  : std::string(__s, __a) {}
36 
38  size_type __n, value_type __c,
39  const allocator_type& __a = allocator_type())
40  : std::string(__n, __c, __a) {}
41 
43  : std::string(s) {}
44 
45  template<class _InputIterator>
46  HOM_BinaryString(_InputIterator __beg, _InputIterator __end,
47  const allocator_type& __a = allocator_type())
48  : std::string(__beg, __end, __a) {}
49 };
50 #endif
51 
52 #endif
GLdouble s
Definition: glew.h:1390
HOM_BinaryString(size_type __n, value_type __c, const allocator_type &__a=allocator_type())
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())
GLsizei const GLchar *const * string
Definition: glew.h:1844
HOM_BinaryString(const value_type *__s, const allocator_type &__a=allocator_type())