Added jinja framework for templates and base templates for functions and docs
This commit is contained in:
15
modules/matlab/include/bridge.hpp
Normal file
15
modules/matlab/include/bridge.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef OPENCV_BRIDGE_HPP_
|
||||
#define OPENCV_BRIDGE_HPP_
|
||||
|
||||
#include "mex.h"
|
||||
|
||||
namespace mex {
|
||||
class Bridge {
|
||||
private:
|
||||
mxArray* m_;
|
||||
public:
|
||||
bool valid() { return_ m_ != 0; } const
|
||||
mxArray* toMxArray() { return m_; } const
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user