Swapped out function assertions in favour of ArgumentParser

This commit is contained in:
hbristow
2013-08-30 15:06:57 +10:00
parent 8f62a52b9b
commit a780c3a7d1
5 changed files with 67 additions and 12 deletions

View File

@@ -73,6 +73,7 @@ typedef cv::Ptr<cv::FeatureDetector> Ptr_FeatureDetector;
// PREDECLARATIONS
// ----------------------------------------------------------------------------
class Bridge;
typedef std::vector<Bridge> BridgeVector;
template <typename InputScalar, typename OutputScalar>
void deepCopyAndTranspose(const cv::Mat& src, matlab::MxArray& dst);

View File

@@ -75,6 +75,12 @@ extern "C" {
#endif
namespace matlab {
// ----------------------------------------------------------------------------
// PREDECLARATIONS
// ----------------------------------------------------------------------------
class MxArray;
typedef std::vector<MxArray> MxArrayVector;
/*!
* @brief raise error if condition fails
*
@@ -476,7 +482,6 @@ private:
typedef std::string String;
typedef std::vector<std::string> StringVector;
typedef std::vector<size_t> IndexVector;
typedef std::vector<MxArray> MxArrayVector;
typedef std::vector<Variant> VariantVector;
/* @class Variant