OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geo::MultiLineString Struct Reference

#include <heavydbTypes.h>

+ Inheritance diagram for Geo::MultiLineString:
+ Collaboration diagram for Geo::MultiLineString:

Public Member Functions

template<typename CT >
std::vector< std::vector< CT > > toCoords () const
std::vector< std::vector
< double > > 
toCoords () const
- Public Member Functions inherited from Geo::GeoNestedArray< LineString >
DEVICE Point2D getPoint (const int64_t index) const
FlatBufferManager::Status toCoordsWorker (std::vector< VT > &result) const
FlatBufferManager::Status toCoords (std::vector< CT > &result) const
FlatBufferManager::Status toCoords (std::vector< std::vector< CT >> &result) const
FlatBufferManager::Status toCoords (std::vector< std::vector< std::vector< CT >>> &result) const
FlatBufferManager::Status fromCoordsWorker (const VT &coords)
FlatBufferManager::Status fromCoords (const std::vector< CT > &coords)
FlatBufferManager::Status fromCoords (const std::vector< std::vector< CT >> &coords)
FlatBufferManager::Status fromCoords (const std::vector< std::vector< std::vector< CT >>> &coords)
- Public Member Functions inherited from flatbuffer::NestedArray< LineString >
size_t size () const
size_t size (const int64_t index) const
void getValuesBuffer (LineString *&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
LineString & getValue (const int64_t index) const
const LineString operator[] (const int64_t index) const
const LineString 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< LineString > &other, bool assign=false)
NestedArray< LineString > & operator= (const NestedArray< LineString > &other)
NestedArray< LineString > & operator+= (const NestedArray< LineString > &other)
const SQLTypeInfoLitegetTypeInfo () const
std::string toString () const

Additional Inherited Members

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

Detailed Description

Definition at line 2141 of file heavydbTypes.h.

Member Function Documentation

template<typename CT >
std::vector<std::vector<CT> > Geo::MultiLineString::toCoords ( ) const

Definition at line 2147 of file heavydbTypes.h.

References run_benchmark_import::result, flatbuffer::NestedArray< LineString >::toString(), and typeName().

2147  {
2148  std::vector<std::vector<CT>> result;
2149  auto status = toCoords(result);
2150  if (status != FlatBufferManager::Status::Success) {
2151  throw std::runtime_error(::typeName(this) +
2152  " toCoords failed: " + ::toString(status));
2153  }
2154  return result;
2155  }
std::vector< std::vector< CT > > toCoords() const
std::string typeName(const T *v)
Definition: toString.h:106

+ Here is the call graph for this function:

std::vector<std::vector<double> > Geo::MultiLineString::toCoords ( ) const

Definition at line 2157 of file heavydbTypes.h.

2157  {
2158  return toCoords<double>();
2159  }

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