OmniSciDB  72c90bc290
 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 isNull () 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
 
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 215 of file heavydbTypes.h.

Constructor & Destructor Documentation

TextEncodingDict::TextEncodingDict ( const int32_t  other)
inline

Definition at line 219 of file heavydbTypes.h.

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

Definition at line 220 of file heavydbTypes.h.

220 : value(0) {}

Member Function Documentation

DEVICE ALWAYS_INLINE bool TextEncodingDict::isNull ( ) const
inline

Definition at line 232 of file heavydbTypes.h.

References value.

Referenced by strtok_to_array__1(), and tarray_append().

232  {
233  return value == inline_int_null_value<int32_t>();
234  }

+ Here is the caller graph for this function:

TextEncodingDict::operator int32_t ( ) const
inline

Definition at line 223 of file heavydbTypes.h.

References value.

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

Definition at line 248 of file heavydbTypes.h.

References operator==().

248  {
249  return !operator==(other);
250  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:236

+ Here is the call graph for this function:

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

Definition at line 251 of file heavydbTypes.h.

References operator==().

251  {
252  return !operator==(other);
253  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:236

+ Here is the call graph for this function:

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

Definition at line 255 of file heavydbTypes.h.

References operator==().

255  {
256  return !operator==(other);
257  }
DEVICE ALWAYS_INLINE bool operator==(const TextEncodingDict &other) const
Definition: heavydbTypes.h:236

+ Here is the call graph for this function:

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

Definition at line 259 of file heavydbTypes.h.

References value.

259  {
260  return value < other.value;
261  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator< ( const int32_t &  other) const
inline

Definition at line 263 of file heavydbTypes.h.

References value.

263  {
264  return value < other;
265  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator< ( const int64_t &  other) const
inline

Definition at line 267 of file heavydbTypes.h.

References value.

267  {
268  return value < other;
269  }
TextEncodingDict TextEncodingDict::operator= ( const int32_t  other)
inline

Definition at line 227 of file heavydbTypes.h.

References value.

227  {
228  value = other;
229  return *this;
230  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator== ( const TextEncodingDict other) const
inline

Definition at line 236 of file heavydbTypes.h.

References value.

Referenced by operator!=().

236  {
237  return value == other.value;
238  }

+ Here is the caller graph for this function:

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

Definition at line 240 of file heavydbTypes.h.

References value.

240  {
241  return value == other;
242  }
DEVICE ALWAYS_INLINE bool TextEncodingDict::operator== ( const int64_t &  other) const
inline

Definition at line 244 of file heavydbTypes.h.

References value.

244  {
245  return value == other;
246  }
std::string TextEncodingDict::toString ( ) const
inline

Definition at line 272 of file heavydbTypes.h.

References typeName(), and value.

272  {
273  return ::typeName(this) + "(value=" + ::toString(value) + ")";
274  }
std::string toString() const
Definition: heavydbTypes.h:272
std::string typeName(const T *v)
Definition: toString.h:106

+ 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: