#include "mex.h"
#include "matrix.h"
#include <string>
#include <memory>
#include <vector>
#include <array>
#include <type_traits>
#include "rs2_type_traits.h"
#include "types.h"
Go to the source code of this file.
Namespaces | |
MatlabParamParser | |
std | |
Typedefs | |
template<bool B> | |
using | std::bool_constant = integral_constant< bool, B > |
template<typename T > | |
using | is_basic_type = std::bool_constant< std::is_arithmetic< T >::value||std::is_pointer< T >::value||std::is_enum< T >::value > |
Functions | |
template<typename T > | |
static void | MatlabParamParser::destroy (const mxArray *cell) |
template<typename T > | |
static T | MatlabParamParser::parse (const mxArray *cell) |
template<typename T > | |
static std::enable_if<!is_basic_type< T >::value, std::vector< T > >::type | MatlabParamParser::parse_array (const mxArray *cells) |
template<typename T > | |
static std::enable_if< is_basic_type< T >::value, std::vector< T > >::type | MatlabParamParser::parse_array (const mxArray *cells) |
template<typename T > | |
static mxArray * | MatlabParamParser::wrap (T &&var) |
template<typename T > | |
static std::enable_if<!is_basic_type< T >::value &&!traits_trampoline::use_cells< T >::value, mxArray * >::type | MatlabParamParser::wrap_array (const T *var, size_t length) |
template<typename T > | |
static std::enable_if<!is_basic_type< T >::value &&traits_trampoline::use_cells< T >::value, mxArray * >::type | MatlabParamParser::wrap_array (const T *var, size_t length) |
template<typename T > | |
static std::enable_if< is_basic_type< T >::value, mxArray * >::type | MatlabParamParser::wrap_array (const T *var, size_t length) |
using is_basic_type = std::bool_constant<std::is_arithmetic<T>::value || std::is_pointer<T>::value || std::is_enum<T>::value> |
Definition at line 15 of file MatlabParamParser.h.