FileStorage Methods OpenCvSharp Class Library

The FileStorage type exposes the following members.

Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodStatic memberGetDefaultObjectName
Returns the normalized object name for the specified file name
Public methodGetFirstTopLevelNode
Returns the first element of the top-level mapping
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsOpened
Returns true if the object is associated with currently opened file.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodOpen
operator that performs PCA. The previously stored data, if any, is released
Public methodRelease
Closes the file and releases all the memory buffers
Public methodReleaseAndGetString
Closes the file, releases all the memory buffers and returns the text string
Public methodRoot
Returns the top-level mapping. YAML supports multiple streams
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToLegacy
Returns pointer to the underlying C FileStorage structure
Public methodToString (Inherited from Object.)
Public methodWrite(String, Mat)
Public methodWrite(String, SparseMat)
Public methodWrite(String, IEnumerableKeyPoint)
Public methodWrite(String, Double)
Public methodWrite(String, Int32)
Public methodWrite(String, Single)
Public methodWrite(String, String)
Public methodWriteObj
Writes the registered C structure (CvMat, CvMatND, CvSeq). See cvWrite()
Public methodWriteRaw
Writes one or more numbers of the specified format to the currently written structure
Public methodWriteScalar(Double)
Public methodWriteScalar(Int32)
Public methodWriteScalar(Single)
Public methodWriteScalar(String)
Top
See Also

Reference