Commit baeacc1b authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: missing wrapping of write()

parent d0a1ab0d
...@@ -107,6 +107,8 @@ public: ...@@ -107,6 +107,8 @@ public:
virtual void read (const cv::FileNode &fn); virtual void read (const cv::FileNode &fn);
virtual void write (cv::FileStorage &fs) const;
virtual void save (const cv::String &filename) const; virtual void save (const cv::String &filename) const;
virtual bool train(cv::InputArray samples, int layout, cv::InputArray responses); virtual bool train(cv::InputArray samples, int layout, cv::InputArray responses);
......
...@@ -163,6 +163,11 @@ void CvRTreesWrapper::read (const cv::FileNode &fn) ...@@ -163,6 +163,11 @@ void CvRTreesWrapper::read (const cv::FileNode &fn)
m_Impl->read(fn); m_Impl->read(fn);
} }
void CvRTreesWrapper::write (cv::FileStorage &fs) const
{
m_Impl->write(fs);
}
void CvRTreesWrapper::save (const cv::String &filename) const void CvRTreesWrapper::save (const cv::String &filename) const
{ {
m_Impl->save(filename); m_Impl->save(filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment