OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
flatbuffer::Array< T > Struct Template Reference

#include <heavydbTypes.h>

+ Inheritance diagram for flatbuffer::Array< T >:
+ Collaboration diagram for flatbuffer::Array< T >:

Public Member Functions

T & operator[] (const int64_t index)
 
DEVICE Array< T > & operator= (const ::Array< T > &s)
 
DEVICE Array< T > & operator+= (const ::Array< T > &s)
 
DEVICE int64_t getSize () const
 
DEVICEoperator() (const unsigned int index) const
 
DEVICEoperator() (const int64_t index) const
 
- Public Member Functions inherited from flatbuffer::NestedArray< T >
size_t size () const
 
size_t size (const int64_t index) const
 
void getValuesBuffer (T *&values, int64_t &nof_values, bool &is_null, bool require_1d_item=true) const
 
void getRawBuffer (int8_t *&values, int64_t &nof_values, size_t &value_size, bool &is_null, bool require_1d_item=true) const
 
T & getValue (const int64_t index) const
 
const T operator[] (const int64_t index) const
 
const T getItem (const int64_t index) const
 
bool isNull () const
 
bool isNull (int64_t index) const
 
DEVICE void extend (const int8_t *data, const int32_t size, bool assign=false)
 
void extend (const NestedArray< T > &other, bool assign=false)
 
NestedArray< T > & operator= (const NestedArray< T > &other)
 
NestedArray< T > & operator+= (const NestedArray< T > &other)
 
const SQLTypeInfoLitegetTypeInfo () const
 
std::string toString () const
 

Additional Inherited Members

- Public Attributes inherited from flatbuffer::NestedArray< T >
int8_t * flatbuffer_
 
int64_t index_ [NESTED_ARRAY_NDIM]
 
size_t n_
 

Detailed Description

template<typename T>
struct flatbuffer::Array< T >

Definition at line 460 of file heavydbTypes.h.

Member Function Documentation

template<typename T>
DEVICE int64_t flatbuffer::Array< T >::getSize ( ) const
inline

Definition at line 1683 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::size().

1683 { return size(); }

+ Here is the call graph for this function:

template<typename T>
DEVICE T flatbuffer::Array< T >::operator() ( const unsigned int  index) const
inline

Definition at line 1684 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::getItem().

1684  {
1685  return getItem(static_cast<int64_t>(index));
1686  }
const T getItem(const int64_t index) const

+ Here is the call graph for this function:

template<typename T>
DEVICE T flatbuffer::Array< T >::operator() ( const int64_t  index) const
inline

Definition at line 1687 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::getItem().

1687 { return getItem(index); }
const T getItem(const int64_t index) const

+ Here is the call graph for this function:

template<typename T>
DEVICE Array<T>& flatbuffer::Array< T >::operator+= ( const ::Array< T > &  s)
inline

Definition at line 1676 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::extend().

1676  {
1677  extend(
1678  reinterpret_cast<const int8_t*>(s.data()), static_cast<int32_t>(s.size()), false);
1679  return *this;
1680  }
DEVICE ALWAYS_INLINE T * data() const
Definition: heavydbTypes.h:516
DEVICE void extend(const int8_t *data, const int32_t size, bool assign=false)
DEVICE ALWAYS_INLINE size_t size() const
Definition: heavydbTypes.h:520

+ Here is the call graph for this function:

template<typename T>
DEVICE Array<T>& flatbuffer::Array< T >::operator= ( const ::Array< T > &  s)
inline

Definition at line 1670 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::extend().

1670  {
1671  extend(
1672  reinterpret_cast<const int8_t*>(s.data()), static_cast<int32_t>(s.size()), true);
1673  return *this;
1674  }
DEVICE ALWAYS_INLINE T * data() const
Definition: heavydbTypes.h:516
DEVICE void extend(const int8_t *data, const int32_t size, bool assign=false)
DEVICE ALWAYS_INLINE size_t size() const
Definition: heavydbTypes.h:520

+ Here is the call graph for this function:

template<typename T>
T& flatbuffer::Array< T >::operator[] ( const int64_t  index)
inline

Definition at line 1668 of file heavydbTypes.h.

References flatbuffer::NestedArray< T >::getValue().

1668 { return getValue(index); }
T & getValue(const int64_t index) const

+ Here is the call graph for this function:


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