Skip to content

Commit 42f4498

Browse files
committed
Merge pull request opencv#10068 from paroj:fs_doc
2 parents e89501a + 7190028 commit 42f4498

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

modules/core/include/opencv2/core/persistence.hpp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -340,16 +340,9 @@ class CV_EXPORTS_W FileStorage
340340
CV_WRAP FileStorage();
341341

342342
/** @overload
343-
@param source Name of the file to open or the text string to read the data from. Extension of the
344-
file (.xml, .yml/.yaml, or .json) determines its format (XML, YAML or JSON respectively). Also you can
345-
append .gz to work with compressed files, for example myHugeMatrix.xml.gz. If both FileStorage::WRITE
346-
and FileStorage::MEMORY flags are specified, source is used just to specify the output file format (e.g.
347-
mydata.xml, .yml etc.).
348-
@param flags Mode of operation. See FileStorage::Mode
349-
@param encoding Encoding of the file. Note that UTF-16 XML encoding is not supported currently and
350-
you should use 8-bit encoding instead of it.
343+
@copydoc open()
351344
*/
352-
CV_WRAP FileStorage(const String& source, int flags, const String& encoding=String());
345+
CV_WRAP FileStorage(const String& filename, int flags, const String& encoding=String());
353346

354347
/** @overload */
355348
FileStorage(CvFileStorage* fs, bool owning=true);

0 commit comments

Comments
 (0)