mexopencv
3.4.1
MEX interface for OpenCV library
|
std::map wrapper with one-line initialization and lookup method. More...
#include <MxArray.hpp>
Public Member Functions | |
ConstMap (const T &key, const U &val) | |
Constructor with a single key-value pair. More... | |
ConstMap< T, U > & | operator() (const T &key, const U &val) |
Consecutive insertion operator. More... | |
operator std::map< T, U > () const | |
Implicit converter to std::map. More... | |
const U & | operator[] (const T &key) const |
Lookup operator; fail if not found. More... | |
std::map wrapper with one-line initialization and lookup method.
Initialization:
Lookup:
Definition at line 927 of file MxArray.hpp.
Constructor with a single key-value pair.
Definition at line 931 of file MxArray.hpp.
Implicit converter to std::map.
Definition at line 942 of file MxArray.hpp.
|
inline |
Consecutive insertion operator.
Definition at line 936 of file MxArray.hpp.
|
inline |
Lookup operator; fail if not found.
Definition at line 944 of file MxArray.hpp.