AronVectorConverter Class Reference

#include <RobotAPI/libraries/aron/converter/stdstl/StdVectorConverter.h>

Public Member Functions

 AronVectorConverter ()=delete
 

Static Public Member Functions

template<typename T >
static data::NDArrayPtr ConvertFrom1DVector (const std::vector< T > &data)
 
template<typename T >
static data::NDArrayPtr ConvertFromVector (const std::vector< T > &data)
 
template<typename T >
static std::vector< TConvertTo1DVector (const data::NDArray &nav)
 
template<typename T >
static std::vector< TConvertTo1DVector (const data::NDArrayPtr &nav)
 
template<typename T >
static std::vector< std::vector< T > > ConvertTo2DVector (const data::NDArray &nav, int dim0size=-1)
 
template<typename T >
static std::vector< std::vector< T > > ConvertTo2DVector (const data::NDArrayPtr &nav)
 
template<typename T >
static std::vector< TConvertToVector (const data::NDArrayPtr &nav)
 

Detailed Description

Definition at line 37 of file StdVectorConverter.h.

Constructor & Destructor Documentation

◆ AronVectorConverter()

AronVectorConverter ( )
delete

Member Function Documentation

◆ ConvertFrom1DVector()

static data::NDArrayPtr ConvertFrom1DVector ( const std::vector< T > &  data)
inlinestatic

Definition at line 141 of file StdVectorConverter.h.

◆ ConvertFromVector()

static data::NDArrayPtr ConvertFromVector ( const std::vector< T > &  data)
inlinestatic

Definition at line 155 of file StdVectorConverter.h.

◆ ConvertTo1DVector() [1/2]

static std::vector<T> ConvertTo1DVector ( const data::NDArray nav)
inlinestatic

Definition at line 102 of file StdVectorConverter.h.

+ Here is the call graph for this function:

◆ ConvertTo1DVector() [2/2]

static std::vector<T> ConvertTo1DVector ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 123 of file StdVectorConverter.h.

◆ ConvertTo2DVector() [1/2]

static std::vector<std::vector<T> > ConvertTo2DVector ( const data::NDArray nav,
int  dim0size = -1 
)
inlinestatic

Definition at line 59 of file StdVectorConverter.h.

+ Here is the call graph for this function:

◆ ConvertTo2DVector() [2/2]

static std::vector<std::vector<T> > ConvertTo2DVector ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 93 of file StdVectorConverter.h.

◆ ConvertToVector()

static std::vector<T> ConvertToVector ( const data::NDArrayPtr nav)
inlinestatic

Definition at line 133 of file StdVectorConverter.h.


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