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 %typemaps_std_string(
8  HOM_BinaryString, char, SWIG_AsHOMBinaryCharPtrAndSize,
9  SWIG_FromHOMBinaryCharPtrAndSize, %checkcode(STDSTRING));
10 
11 
12 %traits_ptypen(HOM_BinaryString);
13 #else
14 #include <string>
15 
17 {
18  public:
20  : std::string() {}
21 
22  HOM_BinaryString(const value_type* __s, size_type __n,
23  const allocator_type& __a = allocator_type())
24  : std::string(__s, __n, __a) {}
25 
27  const value_type* __s,
28  const allocator_type& __a = allocator_type())
29  : std::string(__s, __a) {}
30 
32  size_type __n, value_type __c,
33  const allocator_type& __a = allocator_type())
34  : std::string(__n, __c, __a) {}
35 
37  : std::string(s) {}
38 
39  template<class _InputIterator>
40  HOM_BinaryString(_InputIterator __beg, _InputIterator __end,
41  const allocator_type& __a = allocator_type())
42  : std::string(__beg, __end, __a) {}
43 };
44 #endif
45 
46 #endif
HOM_BinaryString(size_type __n, value_type __c, const allocator_type &__a=allocator_type())
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
GLdouble s
Definition: glad.h:3009
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())