matio-cpp  v0.2.5
A C++ wrapper of the matio library, with memory ownership handling, to read and write .mat files.
ConversionUtilities.h File Reference
+ Include dependency graph for ConversionUtilities.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  matioCpp::get_type< Tp >
 Utility metafunction to get the ValueType from a given primitive type. More...
 
struct  matioCpp::get_type< int8_t >
 
struct  matioCpp::get_type< uint8_t >
 
struct  matioCpp::get_type< int16_t >
 
struct  matioCpp::get_type< uint16_t >
 
struct  matioCpp::get_type< int32_t >
 
struct  matioCpp::get_type< uint32_t >
 
struct  matioCpp::get_type< float >
 
struct  matioCpp::get_type< double >
 
struct  matioCpp::get_type< int64_t >
 
struct  matioCpp::get_type< size_t_type >
 
struct  matioCpp::get_type< char >
 
struct  matioCpp::get_type< char16_t >
 
struct  matioCpp::get_type< char32_t >
 
struct  matioCpp::get_type< Logical >
 
struct  matioCpp::is_string_compatible< T >
 Utility meta-function to check if a type is compatible with a std::string. More...
 
struct  matioCpp::is_string_compatible< char >
 
struct  matioCpp::is_string_compatible< uint8_t >
 
struct  matioCpp::is_string16_compatible< T >
 Utility meta-function to check if a type is compatible with a std::u16string. More...
 
struct  matioCpp::is_string16_compatible< char16_t >
 
struct  matioCpp::is_string16_compatible< uint16_t >
 
struct  matioCpp::is_string32_compatible< T >
 Utility meta-function to check if a type is compatible with a std::u32string. More...
 
struct  matioCpp::is_string32_compatible< char32_t >
 
struct  matioCpp::is_string32_compatible< uint32_t >
 

Namespaces

 matioCpp
 

Typedefs

using matioCpp::size_t_type = uint64_t
 

Functions

bool matioCpp::get_matio_types (const VariableType &inputVariableType, const ValueType &inputValueType, matio_classes &outputMatioClasses, matio_types &outputMatioType)
 Get both the matio type and class from the input VariableType and ValueType. More...
 
bool matioCpp::get_types_from_matvart (const matvar_t *input, VariableType &outputVariableType, ValueType &outputValueType)
 Get the VariableType and the ValueType from a matvar_t pointer. More...
 
bool matioCpp::get_types_names_from_matvart (const matvar_t *input, std::string &classType, std::string &dataType)
 Get the type names from the input pointer. More...
 
template<typename T >
bool matioCpp::is_convertible_to_primitive_type (matioCpp::ValueType type)
 Utility function to check if certain ValueType can be converted to a primitive type T. More...