OmniSciDB  c0231cc57d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TextEncodingDict Struct Reference

#include <heavydbTypes.h>

Public Member Functions

 TextEncodingDict (const int32_t other)
 
 TextEncodingDict ()
 
 operator int32_t () const
 
TextEncodingDict operator= (const int32_t other)
 
DEVICE ALWAYS_INLINE bool operator== (const TextEncodingDict &other) const
 
DEVICE ALWAYS_INLINE bool operator== (const int32_t &other) const
 
DEVICE ALWAYS_INLINE bool operator== (const int64_t &other) const
 
DEVICE ALWAYS_INLINE bool operator!= (const TextEncodingDict &other) const
 
DEVICE ALWAYS_INLINE bool operator!= (const int32_t &other) const
 
DEVICE ALWAYS_INLINE bool operator!= (const int64_t &other) const
 
DEVICE ALWAYS_INLINE bool operator< (const TextEncodingDict &other) const
 
DEVICE ALWAYS_INLINE bool operator< (const int32_t &other) const
 
DEVICE ALWAYS_INLINE bool operator< (const int64_t &other) const
 
std::string toString () const
 

Public Attributes

int32_t value
 

Detailed Description

Definition at line 108 of file heavydbTypes.h.

Constructor & Destructor Documentation

TextEncodingDict::TextEncodingDict ( const int32_t  other)
inline

Definition at line 112 of file heavydbTypes.h.

112 : value(other) {}
TextEncodingDict::TextEncodingDict ( )
inline

Definition at line 113 of file heavydbTypes.h.

113 : value(0) {}

Member Function Documentation

TextEncodingDict::operator int32_t ( ) const
inline

Definition at line 116 of file heavydbTypes.h.

References value.

116 { return value; }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator!= ( const TextEncodingDict other) const
inline

Definition at line 135 of file heavydbTypes.h.

References operator==().

135  {
136  return !operator==(other);
137  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:123

+ Here is the call graph for this function:

DEVICE ALWAYS_INLINE bool TextEncodingDict::operator!= ( const int32_t &  other) const
inline

Definition at line 138 of file heavydbTypes.h.

References operator==().

138  {
139  return !operator==(other);
140  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:123

+ Here is the call graph for this function:

DEVICE ALWAYS_INLINE bool TextEncodingDict::operator!= ( const int64_t &  other) const
inline

Definition at line 142 of file heavydbTypes.h.

References operator==().

142  {
143  return !operator==(other);
144  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:123

+ Here is the call graph for this function:

DEVICE ALWAYS_INLINE bool TextEncodingDict::operator< ( const TextEncodingDict other) const
inline

Definition at line 146 of file heavydbTypes.h.

References value.

146  {
147  return value < other.value;
148  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator< ( const int32_t &  other) const
inline

Definition at line 150 of file heavydbTypes.h.

References value.

150  {
151  return value < other;
152  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator< ( const int64_t &  other) const
inline

Definition at line 154 of file heavydbTypes.h.

References value.

154  {
155  return value < other;
156  }
TextEncodingDict TextEncodingDict::operator= ( const int32_t  other)
inline

Definition at line 118 of file heavydbTypes.h.

References value.

118  {
119  value = other;
120  return *this;
121  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator== ( const TextEncodingDict other) const
inline

Definition at line 123 of file heavydbTypes.h.

References value.

Referenced by operator!=().

123  {
124  return value == other.value;
125  }

+ Here is the caller graph for this function:

DEVICE ALWAYS_INLINE bool TextEncodingDict::operator== ( const int32_t &  other) const
inline

Definition at line 127 of file heavydbTypes.h.

References value.

127  {
128  return value == other;
129  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator== ( const int64_t &  other) const
inline

Definition at line 131 of file heavydbTypes.h.

References value.

131  {
132  return value == other;
133  }
std::string TextEncodingDict::toString ( ) const
inline

Definition at line 159 of file heavydbTypes.h.

References typeName(), and value.

159  {
160  return ::typeName(this) + "(value=" + ::toString(value) + ")";
161  }
std::string toString() const
Definition: heavydbTypes.h:159
std::string typeName(const T *v)
Definition: toString.h:103

+ Here is the call graph for this function:

Member Data Documentation

int32_t TextEncodingDict::value

The documentation for this struct was generated from the following file: