mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 20:09:23 +08:00
Merge pull request #10068 from paroj:fs_doc
This commit is contained in:
commit
42f449880c
@ -340,16 +340,9 @@ public:
|
|||||||
CV_WRAP FileStorage();
|
CV_WRAP FileStorage();
|
||||||
|
|
||||||
/** @overload
|
/** @overload
|
||||||
@param source Name of the file to open or the text string to read the data from. Extension of the
|
@copydoc open()
|
||||||
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.
|
|
||||||
*/
|
*/
|
||||||
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 */
|
/** @overload */
|
||||||
FileStorage(CvFileStorage* fs, bool owning=true);
|
FileStorage(CvFileStorage* fs, bool owning=true);
|
||||||
|
Loading…
Reference in New Issue
Block a user