1 #ifndef MATIOCPP_FORWARDDECLARATIONS_H
2 #define MATIOCPP_FORWARDDECLARATIONS_H
18 #include <initializer_list>
25 #include <type_traits>
26 #include <unordered_map>
27 #include <unordered_set>
33 #include <matioCpp/Config.h>
39 #pragma warning(disable : 4127)
40 #pragma warning(disable : 4702)
44 #pragma warning(disable : 26481 26482 26483 26485 26490 26491 26492 26493 26495)
47 #pragma push_macro("constexpr")
49 #define MATIOCPP_USE_STATIC_CONSTEXPR_WORKAROUND
56 #if !(defined(__cplusplus) && (__cplusplus >= 201703L))
57 #define MATIOCPP_USE_STATIC_CONSTEXPR_WORKAROUND
64 #define MATIOCPP_CONSTEXPR
66 #define MATIOCPP_CONSTEXPR constexpr
83 template <
typename... Args>
inline void unused(Args&&...) {}
174 template <
class Container,
bool IsConst>
177 template <
class ElementType, std::ptrdiff_t Extent = dynamic_extent>
211 template <
bool isConst>
#define MATIOCPP_CONSTEXPR
CellArray is a particular type of Variable specialized for cell arrays.
Element allows having a 1x1 variable (like double, int,..) castable to a primitive type.
Utility class to consider logical values.
MultiDimensionalArray is a particular type of Variable specialized for multidimensional arrays of a g...
StructArray is a particular type of Variable specialized for array of structs.
Struct is a particular type of Variable specialized for structs.
The matioCpp::Variable class is the equivalent of matvar_t in matio.
Vector is a particular type of Variable specialized for 1-D arrays of a generic type T.
MATIOCPP_CONSTEXPR const std::ptrdiff_t dynamic_extent
DeleteMode
The delete mode of matvar_t pointers.
@ ShallowDelete
The handler does not delete the pointer.
@ Delete
The handler deletes the pointer but not the data.
FileVersion
The supported file versions.
@ MAT4
This is one of the following three depending on the matio installation.
@ MAT5
Matlab version 4 file
@ MAT7_3
Matlab version 5 file
@ Undefined
Matlab version 7.3 file
FileMode
The available modes with which a file can be opened.
void unused(Args &&...)
Utility metafunction to avoid compiler warnings about unused variables.
VariableType
Define the type of variable.
ValueType
The list of types for an element of a certain variable type.
Compression
Compression type when writing to a file.
dependent_false is a type-dependent expression that is always false.