3 #ifndef GCP_MATLAB_MATARCHIVECONVFN_H
4 #define GCP_MATLAB_MATARCHIVECONVFN_H
16 #include "gcp/util/common/DataType.h"
17 #include "gcp/util/common/RegDescription.h"
19 #include "gcp/matlab/common/MexHandler.h"
25 #define MAT_ARC_CONV_FN(fn) void (fn)(gcp::util::RegDescription& reg, gcp::matlab::MexHandler::MxArray& array, unsigned char* raw, double* cal, unsigned& iFrame, unsigned& nFrame, unsigned& nEl, unsigned int* cInds, unsigned int* mInds)
33 static MAT_ARC_CONV_FN(toBool);
34 static MAT_ARC_CONV_FN(toUchar);
35 static MAT_ARC_CONV_FN(toChar);
36 static MAT_ARC_CONV_FN(toUshort);
37 static MAT_ARC_CONV_FN(toShort);
38 static MAT_ARC_CONV_FN(toUint);
39 static MAT_ARC_CONV_FN(toInt);
40 static MAT_ARC_CONV_FN(toUlong);
41 static MAT_ARC_CONV_FN(toLong);
42 static MAT_ARC_CONV_FN(toFloat);
43 static MAT_ARC_CONV_FN(toDouble);
44 static MAT_ARC_CONV_FN(toDate);
45 static MAT_ARC_CONV_FN(toString);
47 static void setConvFn(gcp::util::DataType::Type outputType, RegAspect aspect, MAT_ARC_CONV_FN(**fptr));
94 #endif // End #ifndef GCP_MATLAB_MATARCHIVECONVFN_H
friend std::ostream & operator<<(std::ostream &os, MatArchiveConvFn &obj)
void operator=(const MatArchiveConvFn &objToBeAssigned)
Definition: MatArchiveConvFn.cc:203
virtual ~MatArchiveConvFn()
Definition: MatArchiveConvFn.cc:228
Definition: MatArchiveConvFn.h:30
MatArchiveConvFn()
Definition: MatArchiveConvFn.cc:182