test: FileStorage format regression test

This commit is contained in:
Alexander Alekhin
2017-07-20 19:56:47 +03:00
parent 9313978f61
commit 5bc291937f
3 changed files with 67 additions and 0 deletions
@@ -462,6 +462,11 @@ public:
*/
static String getDefaultObjectName(const String& filename);
/** @brief Returns the current format.
* @returns The current format, see FileStorage::Mode
*/
CV_WRAP int getFormat() const;
Ptr<CvFileStorage> fs; //!< the underlying C FileStorage structure
String elname; //!< the currently written element
std::vector<char> structs; //!< the stack of written structures