File Storage Node class
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusFileNode
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The FileNode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | FileNode |
The default constructor
|
![]() | FileNode(IntPtr) |
Initializes from cv::FileNode*
|
![]() | FileNode(FileNode) |
The copy constructor
|
![]() | FileNode(CvFileStorage, CvFileNode) |
The full constructor wrapping CvFileNode structure.
|
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.) |
![]() | Empty |
Returns true if the node is empty
|
![]() | 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.) |
![]() | IsInt |
Returns true if the node is an integer
|
![]() | IsMap |
Returns true if the node is a mapping
|
![]() | IsNamed |
Returns true if the node has a name
|
![]() | IsNone |
Returns true if the node is a "none" object
|
![]() | IsReal |
Returns true if the node is a floating-point number
|
![]() | IsSeq |
Returns true if the node is a sequence
|
![]() | IsString |
Returns true if the node is a text string
|
![]() | ItemInt32 |
returns element of a sequence node
|
![]() | ItemString |
returns element of a mapping node
|
![]() | Name |
Returns the node name or an empty string if the node is nameless
|
![]() | Size |
Returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
|
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) | Releases the unmanaged resources used by the FileNode and optionally releases the managed resources (Overrides DisposableCvObjectDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | ReadDouble | |
![]() | ReadFloat | |
![]() | ReadInt | |
![]() | ReadKeyPoints | |
![]() | ReadMat | |
![]() | ReadObj |
Reads the registered object and returns pointer to it
|
![]() | ReadRaw |
Reads node elements to the buffer with the specified format
|
![]() | ReadSparseMat | |
![]() | ReadString | |
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToLegacy |
Returns pointer to the underlying C FileStorage structure
|
![]() | ToString | (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
![]() ![]() | (FileNode to Int32) |
Returns the node content as an integer. If the node stores floating-point number, it is rounded.
|
![]() ![]() | (FileNode to Single) |
Returns the node content as float
|
![]() ![]() | (FileNode to Double) |
Returns the node content as double
|
![]() ![]() | (FileNode to String) |
Returns the node content as text string
|
![]() ![]() | (FileNode to CvFileNode) |
Returns pointer to the underlying C FileStorage structure
|
Fields
Name | Description | |
---|---|---|
![]() | dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |
![]() | ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also