|
void | checkArguments (const string &name, int nargout, int nargin, int expected) |
|
void | checkScalar (const mxArray *array, const char *str) |
|
mxArray * | create_object (const std::string &classname, void *pointer, bool isVirtual, const char *rttiName) |
|
void | error (const char *str) |
|
template<typename T > |
T | myGetScalar (const mxArray *array) |
|
mxArray * | scalar (mxClassID classid) |
|
template<typename T > |
T | unwrap (const mxArray *array) |
|
template<> |
bool | unwrap< bool > (const mxArray *array) |
|
template<> |
char | unwrap< char > (const mxArray *array) |
|
template<> |
double | unwrap< double > (const mxArray *array) |
|
template<> |
gtsam::Matrix | unwrap< gtsam::Matrix > (const mxArray *array) |
|
template<> |
gtsam::Point2 | unwrap< gtsam::Point2 > (const mxArray *array) |
|
template<> |
gtsam::Point3 | unwrap< gtsam::Point3 > (const mxArray *array) |
|
template<> |
gtsam::Vector | unwrap< gtsam::Vector > (const mxArray *array) |
|
template<> |
int | unwrap< int > (const mxArray *array) |
|
template<> |
size_t | unwrap< size_t > (const mxArray *array) |
|
template<> |
string | unwrap< string > (const mxArray *array) |
|
template<> |
unsigned char | unwrap< unsigned char > (const mxArray *array) |
|
template<typename T > |
T | unwrap_enum (const mxArray *array) |
| Unwrap from matlab array to C++ enum type. More...
|
|
template<typename Class > |
Class * | unwrap_ptr (const mxArray *obj, const string &propertyName) |
|
template<typename Class > |
std::shared_ptr< Class > | unwrap_shared_ptr (const mxArray *obj, const string &propertyName) |
|
template<typename Class > |
mxArray * | wrap (const Class &value) |
|
template<> |
mxArray * | wrap< bool > (const bool &value) |
|
template<> |
mxArray * | wrap< char > (const char &value) |
|
template<> |
mxArray * | wrap< double > (const double &value) |
|
template<> |
mxArray * | wrap< gtsam::Matrix > (const gtsam::Matrix &A) |
|
template<> |
mxArray * | wrap< gtsam::Point2 > (const gtsam::Point2 &v) |
|
template<> |
mxArray * | wrap< gtsam::Point3 > (const gtsam::Point3 &v) |
|
template<> |
mxArray * | wrap< gtsam::Vector > (const gtsam::Vector &v) |
|
template<> |
mxArray * | wrap< int > (const int &value) |
|
template<> |
mxArray * | wrap< size_t > (const size_t &value) |
|
template<> |
mxArray * | wrap< string > (const string &value) |
|
template<> |
mxArray * | wrap< unsigned char > (const unsigned char &value) |
|
template<typename T > |
mxArray * | wrap_enum (const T x, const std::string &classname) |
| Wrap the C++ enum to Matlab mxArray. More...
|
|
mxArray * | wrap_Matrix (const gtsam::Matrix &A) |
|
template<typename Class > |
mxArray * | wrap_shared_ptr (std::shared_ptr< Class > shared_ptr, const std::string &matlabName, bool isVirtual) |
|
mxArray * | wrap_Vector (const gtsam::Vector &v) |
|
header file to be included in MATLAB wrappers
- Date
- 2008
- Author
- Frank Dellaert
-
Alex Cunningham
-
Andrew Melim
-
Richard Roberts
wrapping and unwrapping is done using specialized templates, see http://www.cplusplus.com/doc/tutorial/templates.html
Definition in file matlab.h.