1 #ifndef MATIOCPP_UTILITIES_H
2 #define MATIOCPP_UTILITIES_H
101 template <
typename T>
Utility class to consider logical values.
bool is_convertible_to_primitive_type(matioCpp::ValueType type)
Utility function to check if certain ValueType can be converted to a primitive type T.
bool 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.
VariableType
Define the type of variable.
bool get_types_from_matvart(const matvar_t *input, VariableType &outputVariableType, ValueType &outputValueType)
Get the VariableType and the ValueType from a matvar_t pointer.
ValueType
The list of types for an element of a certain variable type.
bool get_types_names_from_matvart(const matvar_t *input, std::string &classType, std::string &dataType)
Get the type names from the input pointer.
dependent_false is a type-dependent expression that is always false.
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
static std::string toString()
Utility metafunction to get the ValueType from a given primitive type.
Utility meta-function to check if a type is compatible with a std::u16string.
Utility meta-function to check if a type is compatible with a std::u32string.
Utility meta-function to check if a type is compatible with a std::string.