CvFileStorage Class OpenCvSharp Class Library
File Storage
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharpCvFileStorage

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class CvFileStorage : DisposableCvObject

The CvFileStorage type exposes the following members.

Constructors

  NameDescription
Public methodCvFileStorage(IntPtr)
Initializes from pointer
Public methodCvFileStorage(String, CvMemStorage, FileStorageMode)
Opens file storage for reading or writing data
Public methodCvFileStorage(String, CvMemStorage, FileStorageMode, String)
Opens file storage for reading or writing data
Top
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.)
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.)
Top
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)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEndWriteStruct
Ends writing a structure
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetFileNode(CvFileNode, CvStringHashNode)
Finds node in the map or file storage
Public methodGetFileNode(CvFileNode, CvStringHashNode, Boolean)
Finds node in the map or file storage
Public methodGetFileNodeByName
Finds node in the map or file storage
Public methodGetHashCode (Inherited from Object.)
Public methodGetHashedKey(String)
Returns a unique pointer for given name
Public methodGetHashedKey(String, Boolean)
Returns a unique pointer for given name
Public methodGetRootFileNode
Retrieves one of top-level nodes of the file storage
Public methodGetRootFileNode(Int32)
Retrieves one of top-level nodes of the file storage
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodReadT
Decodes object and returns pointer to it
Public methodReadByNameT
Finds object and decodes it
Public methodReadIntByName(CvFileNode, String)
Finds file node and returns its value
Public methodReadIntByName(CvFileNode, String, Int32)
Finds file node and returns its value
Public methodReadRawDataT
Reads multiple numbers
Public methodReadRawDataSliceT
Initializes file node sequence reader
Public methodReadRealByName(CvFileNode, String)
Finds file node and returns its value
Public methodReadRealByName(CvFileNode, String, Double)
Finds file node and returns its value
Public methodReadStringByName(CvFileNode, String)
Finds file node and returns its value
Public methodReadStringByName(CvFileNode, String, String)
Finds file node and returns its value
Public methodStartNextStream
Starts the next stream
Public methodStartReadRawData
Initializes file node sequence reader
Public methodStartWriteStruct(String, NodeType)
Starts writing a new structure
Public methodStartWriteStruct(String, NodeType, String)
Starts writing a new structure
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Public methodWrite(String, CvArr)
Writes user object
Public methodWrite(String, CvArr, CvAttrList)
Writes user object
Public methodWriteComment(String)
Writes comment
Public methodWriteComment(String, Boolean)
Writes comment
Public methodWriteFileNode
Writes file node to another file storage
Public methodWriteInt
Writes an integer value
Public methodWriteRawDataT
Writes multiple numbers
Public methodWriteReal
Writes a floating-point value
Public methodWriteString(String, String)
Writes a text string
Public methodWriteString(String, String, Boolean)
Writes a text string
Top
Fields

  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also

Reference