Click or drag to resize

FileStorage Class

XML/YAML File Storage Class.
Inheritance Hierarchy

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public class FileStorage : DisposableCvObject

The FileStorage type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Protected propertyDataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Public propertyElName
the currently written element
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyItem
Returns the specified element of the top-level mapping
Public propertyState
the writer state
Top
Methods
  NameDescription
Public methodAdd(Double)
Writes data to a file storage.
Public methodAdd(Int32)
Writes data to a file storage.
Public methodAdd(Single)
Writes data to a file storage.
Public methodAdd(String)
Writes data to a file storage.
Public methodAdd(DMatch)
Writes data to a file storage.
Public methodAdd(IEnumerableDMatch)
Writes data to a file storage.
Public methodAdd(KeyPoint)
Writes data to a file storage.
Public methodAdd(IEnumerableKeyPoint)
Writes data to a file storage.
Public methodAdd(Mat)
Writes data to a file storage.
Public methodAdd(Point)
/Writes data to a file storage.
Public methodAdd(Point2d)
Writes data to a file storage.
Public methodAdd(Point2f)
Writes data to a file storage.
Public methodAdd(Point3d)
Writes data to a file storage.
Public methodAdd(Point3f)
Writes data to a file storage.
Public methodAdd(Point3i)
Writes data to a file storage.
Public methodAdd(Range)
Writes data to a file storage.
Public methodAdd(Rect)
Writes data to a file storage.
Public methodAdd(Rect2d)
Writes data to a file storage.
Public methodAdd(Rect2f)
Writes data to a file storage.
Public methodAdd(Scalar)
Writes data to a file storage.
Public methodAdd(Size)
Writes data to a file storage.
Public methodAdd(Size2d)
Writes data to a file storage.
Public methodAdd(Size2f)
Writes data to a file storage.
Public methodAdd(SparseMat)
Writes data to a file storage.
Public methodAdd(Vec2b)
Writes data to a file storage.
Public methodAdd(Vec2d)
Writes data to a file storage.
Public methodAdd(Vec2f)
Writes data to a file storage.
Public methodAdd(Vec2i)
Writes data to a file storage.
Public methodAdd(Vec2s)
Writes data to a file storage.
Public methodAdd(Vec2w)
Writes data to a file storage.
Public methodAdd(Vec3b)
Writes data to a file storage.
Public methodAdd(Vec3d)
Writes data to a file storage.
Public methodAdd(Vec3f)
Writes data to a file storage.
Public methodAdd(Vec3i)
Writes data to a file storage.
Public methodAdd(Vec3s)
Writes data to a file storage.
Public methodAdd(Vec3w)
Writes data to a file storage.
Public methodAdd(Vec4b)
Writes data to a file storage.
Public methodAdd(Vec4d)
Writes data to a file storage.
Public methodAdd(Vec4f)
Writes data to a file storage.
Public methodAdd(Vec4i)
Writes data to a file storage.
Public methodAdd(Vec4s)
Writes data to a file storage.
Public methodAdd(Vec4w)
Writes data to a file storage.
Public methodAdd(Vec6b)
Writes data to a file storage.
Public methodAdd(Vec6d)
Writes data to a file storage.
Public methodAdd(Vec6f)
Writes data to a file storage.
Public methodAdd(Vec6i)
Writes data to a file storage.
Public methodAdd(Vec6s)
Writes data to a file storage.
Public methodAdd(Vec6w)
Writes data to a file storage.
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)
Releases the resources
(Inherited from DisposableObject.)
Protected methodDisposeManaged
Releases managed resources
(Inherited from DisposableObject.)
Protected methodDisposeUnmanaged
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.)
Public methodEndWriteStruct
Public methodEquals
Determines whether the specified object is equal to the current object.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsOpened
Returns true if the object is associated with currently opened file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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 methodStartWriteStruct
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite(String, Mat)
Public methodWrite(String, SparseMat)
Public methodWrite(String, IEnumerableDMatch)
Public methodWrite(String, IEnumerableKeyPoint)
Public methodWrite(String, Double)
Public methodWrite(String, Int32)
Public methodWrite(String, Single)
Public methodWrite(String, String)
Public methodWriteComment
Writes a comment. The function writes a comment into file storage. The comments are skipped when the storage is read.
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
Fields
  NameDescription
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also