From 7190028b2338676c55f363ffe7a2c0811e9d4e82 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Fri, 10 Nov 2017 13:06:36 +0100 Subject: [PATCH] FileStorage: use copydoc to add base64 info to constructor --- modules/core/include/opencv2/core/persistence.hpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/core/include/opencv2/core/persistence.hpp b/modules/core/include/opencv2/core/persistence.hpp index 6746be91eb..8665e59cdf 100644 --- a/modules/core/include/opencv2/core/persistence.hpp +++ b/modules/core/include/opencv2/core/persistence.hpp @@ -340,16 +340,9 @@ public: CV_WRAP FileStorage(); /** @overload - @param source Name of the file to open or the text string to read the data from. Extension of the - file (.xml, .yml/.yaml, or .json) determines its format (XML, YAML or JSON respectively). Also you can - append .gz to work with compressed files, for example myHugeMatrix.xml.gz. If both FileStorage::WRITE - and FileStorage::MEMORY flags are specified, source is used just to specify the output file format (e.g. - mydata.xml, .yml etc.). - @param flags Mode of operation. See FileStorage::Mode - @param encoding Encoding of the file. Note that UTF-16 XML encoding is not supported currently and - you should use 8-bit encoding instead of it. + @copydoc open() */ - CV_WRAP FileStorage(const String& source, int flags, const String& encoding=String()); + CV_WRAP FileStorage(const String& filename, int flags, const String& encoding=String()); /** @overload */ FileStorage(CvFileStorage* fs, bool owning=true);