Метод | Описание | |
---|---|---|
FileStorage ( ) : System |
Default constructor. You should call FileStorage::open() after initialization.
|
|
FileStorage ( string source, Mode flags, string encoding = null ) : System |
The full constructor
|
|
GetDefaultObjectName ( string fileName ) : string |
Returns the normalized object name for the specified file name
|
|
GetFirstTopLevelNode ( ) : |
Returns the first element of the top-level mapping
|
|
IsOpened ( ) : bool |
Returns true if the object is associated with currently opened file.
|
|
Open ( string fileName, Mode flags, string encoding = null ) : bool |
operator that performs PCA. The previously stored data, if any, is released
|
|
Release ( ) : void |
Closes the file and releases all the memory buffers
|
|
ReleaseAndGetString ( ) : string |
Closes the file, releases all the memory buffers and returns the text string
|
|
Root ( int streamidx ) : |
Returns the top-level mapping. YAML supports multiple streams
|
|
Write ( string name, IEnumerable |
|
|
Write ( string name, IEnumerable |
|
|
Write ( string name, OpenCvSharp.Mat value ) : void |
|
|
Write ( string name, SparseMat value ) : void |
|
|
Write ( string name, double value ) : void |
|
|
Write ( string name, float value ) : void |
|
|
Write ( string name, int value ) : void |
|
|
Write ( string name, string value ) : void |
|
|
WriteObj ( string name, |
Writes the registered C structure (CvMat, CvMatND, CvSeq). See cvWrite()
|
|
WriteRaw ( string fmt, |
Writes one or more numbers of the specified format to the currently written structure
|
|
WriteScalar ( double value ) : void |
|
|
WriteScalar ( float value ) : void |
|
|
WriteScalar ( int value ) : void |
|
|
WriteScalar ( string value ) : void |
|
|
this ( string nodeName ) : |
Returns the specified element of the top-level mapping
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public FileStorage ( string source, Mode flags, string encoding = null ) : System | ||
source | string | Name of the file to open or the text string to read the data from. /// Extension of the file (.xml or .yml/.yaml) determines its format /// (XML or YAML 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.). |
flags | Mode | |
encoding | string | Encoding of the file. Note that UTF-16 XML encoding is not supported /// currently and you should use 8-bit encoding instead of it. |
Результат | System |
public static GetDefaultObjectName ( string fileName ) : string | ||
fileName | string | |
Результат | string |
public GetFirstTopLevelNode ( ) : |
||
Результат |
public Open ( string fileName, Mode flags, string encoding = null ) : bool | ||
fileName | string | |
flags | Mode | |
encoding | string | Encoding of the file. Note that UTF-16 XML encoding is not supported /// currently and you should use 8-bit encoding instead of it. |
Результат | bool |
public Write ( string name, IEnumerable |
||
name | string | |
value | IEnumerable |
|
Результат | void |
public Write ( string name, IEnumerable |
||
name | string | |
value | IEnumerable |
|
Результат | void |
public Write ( string name, OpenCvSharp.Mat value ) : void | ||
name | string | |
value | OpenCvSharp.Mat | |
Результат | void |
public Write ( string name, SparseMat value ) : void | ||
name | string | |
value | SparseMat | |
Результат | void |
public Write ( string name, double value ) : void | ||
name | string | |
value | double | |
Результат | void |
public Write ( string name, float value ) : void | ||
name | string | |
value | float | |
Результат | void |
public Write ( string name, int value ) : void | ||
name | string | |
value | int | |
Результат | void |
public Write ( string name, string value ) : void | ||
name | string | |
value | string | |
Результат | void |
public WriteObj ( string name, |
||
name | string | |
obj | ||
Результат | void |
public WriteRaw ( string fmt, |
||
fmt | string | |
vec | ||
len | long | |
Результат | void |
public WriteScalar ( double value ) : void | ||
value | double | |
Результат | void |
public WriteScalar ( string value ) : void | ||
value | string | |
Результат | void |
public this ( string nodeName ) : |
||
nodeName | string | |
Результат |