SOIL C++
C++ Unified Device Interface
SOIL::Container< T, x, -1 > Class Template Reference

Template specialization for 1D-Arrays/Vectors. More...

#include <Container.h>

Public Member Functions

 Container ()
 
 Container (const std::vector< T > &value)
 
 Container (HTTP::Json json)
 
std::vector< T > operator* (void) const
 
bool is_null (void) const
 
void set_null (bool _null=true)
 
HTTP::Json wjson (void)
 
bool check_range (Range< T > range) const
 
T & at (int i)
 
std::vector< unsigned char > serialize_value (void) const
 
std::vector< unsigned char > serialize_dimensions (void) const
 

Detailed Description

template<typename T, int x>
class SOIL::Container< T, x, -1 >

This is the specialization of the templated class for data that expands along one dimension. For the documentation of methods, please refer to the unpecialized class.

Template Parameters
TType of the data
xFirst dimension of the data

Definition at line 146 of file Container.h.

Constructor & Destructor Documentation

◆ Container() [1/3]

template<typename T , int x>
SOIL::Container< T, x, -1 >::Container ( )

◆ Container() [2/3]

template<typename T , int x>
SOIL::Container< T, x, -1 >::Container ( const std::vector< T > &  value)

◆ Container() [3/3]

template<typename T , int x>
SOIL::Container< T, x, -1 >::Container ( HTTP::Json  json)

Member Function Documentation

◆ at()

template<typename T , int x>
T & SOIL::Container< T, x, -1 >::at ( int  i)

◆ check_range()

template<typename T , int x>
bool SOIL::Container< T, x, -1 >::check_range ( Range< T >  range) const

◆ is_null()

template<typename T , int x>
bool SOIL::Container< T, x, -1 >::is_null ( void  ) const
inline

Definition at line 156 of file Container.h.

◆ operator*()

template<typename T , int x>
std::vector< T > SOIL::Container< T, x, -1 >::operator* ( void  ) const

◆ serialize_dimensions()

template<typename T , int x>
std::vector< unsigned char > SOIL::Container< T, x, -1 >::serialize_dimensions ( void  ) const

◆ serialize_value()

template<typename T , int x>
std::vector< unsigned char > SOIL::Container< T, x, -1 >::serialize_value ( void  ) const

◆ set_null()

template<typename T , int x>
void SOIL::Container< T, x, -1 >::set_null ( bool  _null = true)
inline

Definition at line 157 of file Container.h.

◆ wjson()

template<typename T , int x>
HTTP::Json SOIL::Container< T, x, -1 >::wjson ( void  )

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