File Storage
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvFileStorage
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvFileStorage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvFileStorage(IntPtr) |
Initializes from pointer
| |
CvFileStorage(String, CvMemStorage, FileStorageMode) |
Opens file storage for reading or writing data
| |
CvFileStorage(String, CvMemStorage, FileStorageMode, String) |
Opens file storage for reading or writing data
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
EndWriteStruct |
Ends writing a structure
| |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetFileNode(CvFileNode, CvStringHashNode) |
Finds node in the map or file storage
| |
GetFileNode(CvFileNode, CvStringHashNode, Boolean) |
Finds node in the map or file storage
| |
GetFileNodeByName |
Finds node in the map or file storage
| |
GetHashCode | (Inherited from Object.) | |
GetHashedKey(String) |
Returns a unique pointer for given name
| |
GetHashedKey(String, Boolean) |
Returns a unique pointer for given name
| |
GetRootFileNode |
Retrieves one of top-level nodes of the file storage
| |
GetRootFileNode(Int32) |
Retrieves one of top-level nodes of the file storage
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ReadT |
Decodes object and returns pointer to it
| |
ReadByNameT |
Finds object and decodes it
| |
ReadIntByName(CvFileNode, String) |
Finds file node and returns its value
| |
ReadIntByName(CvFileNode, String, Int32) |
Finds file node and returns its value
| |
ReadRawDataT |
Reads multiple numbers
| |
ReadRawDataSliceT |
Initializes file node sequence reader
| |
ReadRealByName(CvFileNode, String) |
Finds file node and returns its value
| |
ReadRealByName(CvFileNode, String, Double) |
Finds file node and returns its value
| |
ReadStringByName(CvFileNode, String) |
Finds file node and returns its value
| |
ReadStringByName(CvFileNode, String, String) |
Finds file node and returns its value
| |
StartNextStream |
Starts the next stream
| |
StartReadRawData |
Initializes file node sequence reader
| |
StartWriteStruct(String, NodeType) |
Starts writing a new structure
| |
StartWriteStruct(String, NodeType, String) |
Starts writing a new structure
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) | |
Write(String, CvArr) |
Writes user object
| |
Write(String, CvArr, CvAttrList) |
Writes user object
| |
WriteComment(String) |
Writes comment
| |
WriteComment(String, Boolean) |
Writes comment
| |
WriteFileNode |
Writes file node to another file storage
| |
WriteInt |
Writes an integer value
| |
WriteRawDataT |
Writes multiple numbers
| |
WriteReal |
Writes a floating-point value
| |
WriteString(String, String) |
Writes a text string
| |
WriteString(String, String, Boolean) |
Writes a text string
|
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also