24 #ifndef ASLMATLABCASTERS_H
25 #define ASLMATLABCASTERS_H
38 typedef std::shared_ptr<ElementBase>
Element;
43 template <
class T>
class AVec;
50 template <
class T> matvar_t* init(T *d,
const asl::AVec<int> & size,
const std::string &name=
"");
54 inline Var(matvar_t* v,
bool freeArr=
false):
var(v){}
55 template <
class T>
Var(std::vector<T> & d,
const std::string &name=
"");
56 template <
class T>
Var(T *d,
unsigned int size,
const std::string &name=
"",
bool freeArr=
true);
57 template <
class T>
Var(T *d,
const asl::AVec<int> & size,
const std::string &name=
"",
bool freeArr=
true);
70 typedef std::shared_ptr<matiocpp::Var>
SPMatVar;
75 std::vector<std::string>(0));
81 #endif // ASLMATLABCASTERS_H