Click or drag to resize

FileStorage Class

http://www.emgu.com
XML/YAML file storage class that encapsulates all the information necessary for writing or reading data to/from a file.
Inheritance Hierarchy

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public class FileStorage : UnmanagedObject

The FileStorage type exposes the following members.

Constructors
  NameDescription
Public methodFileStorage
Initializes a new instance of the FileStorage class.
Top
Properties
  NameDescription
Public propertyIsOpened
Gets a value indicating whether this instance is opened.
Public propertyItem
Gets the FileNode with the specified node name.
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetFirstTopLevelNode
Gets the first element of the top-level mapping.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNode
Gets the specified element of the top-level mapping.
Public methodGetRoot
Gets the top-level mapping.
Public methodGetType (Inherited from Object.)
Public methodInsert
Similar to the << operator in C++, we cannot have the operator overload to << in C# where the second parameter is not an int. Therefore we use this function instead.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReleaseAndGetString
Closes the file and releases all the memory buffers Call this method after all I/O operations with the storage are finished. If the storage was opened for writing data and FileStorage.Mode.Write was specified
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Public methodWrite(Double, String)
Writes the specified Mat to the node with the specific name
Public methodWrite(Int32, String)
Writes the specified Mat to the node with the specific name
Public methodWrite(Single, String)
Writes the specified Mat to the node with the specific name
Public methodWrite(String, String)
Writes the specified Mat to the node with the specific name
Public methodWrite(Mat, String)
Writes the specified Mat to the node with the specific name.
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also