OmniSciDB  f17484ade4
 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 2134 of file heavydbTypes.h.

Member Function Documentation

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

Definition at line 2140 of file heavydbTypes.h.

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

2140  {
2141  std::vector<std::vector<CT>> result;
2142  auto status = toCoords(result);
2143  if (status != FlatBufferManager::Status::Success) {
2144  throw std::runtime_error(::typeName(this) +
2145  " toCoords failed: " + ::toString(status));
2146  }
2147  return result;
2148  }
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 2150 of file heavydbTypes.h.

2150  {
2151  return toCoords<double>();
2152  }

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