FileNode Class |
Namespace: OpenCvSharp
The FileNode type exposes the following members.
| Name | Description | |
|---|---|---|
| FileNode |
The default constructor
| |
| FileNode(IntPtr) |
Initializes from cv::FileNode*
|
| 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.
| |
| Type |
Returns type of the node.
|
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Begin |
returns iterator pointing to the first node element
| |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| DisposeManaged |
Releases managed resources
(Inherited from DisposableObject.) | |
| DisposeUnmanaged |
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
| End |
returns iterator pointing to the element following the last node element
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetEnumerator | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| ReadDMatch | ||
| ReadDMatches | ||
| ReadDouble | ||
| ReadFloat | ||
| ReadInt | ||
| ReadKeyPoint | ||
| ReadKeyPoints | ||
| ReadMat | ||
| ReadObj |
Reads the registered object and returns pointer to it
| |
| ReadPoint | ||
| ReadPoint2d | ||
| ReadPoint2f | ||
| ReadPoint3d | ||
| ReadPoint3f | ||
| ReadPoint3i | ||
| ReadRange | ||
| ReadRaw |
Reads node elements to the buffer with the specified format
| |
| ReadRect | ||
| ReadRect2d | ||
| ReadRect2f | ||
| ReadScalar | ||
| ReadSize | ||
| ReadSize2d | ||
| ReadSize2f | ||
| ReadSparseMat | ||
| ReadString | ||
| ReadVec2b | ||
| ReadVec2d | ||
| ReadVec2f | ||
| ReadVec2i | ||
| ReadVec2s | ||
| ReadVec2w | ||
| ReadVec3b | ||
| ReadVec3d | ||
| ReadVec3f | ||
| ReadVec3i | ||
| ReadVec3s | ||
| ReadVec3w | ||
| ReadVec4b | ||
| ReadVec4d | ||
| ReadVec4f | ||
| ReadVec4i | ||
| ReadVec4s | ||
| ReadVec4w | ||
| ReadVec6b | ||
| ReadVec6d | ||
| ReadVec6f | ||
| ReadVec6i | ||
| ReadVec6s | ||
| ReadVec6w | ||
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| 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 Mat) |
Returns the node content as OpenCV Mat
|
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| ptr |
Data pointer
(Inherited from DisposableCvObject.) |
| Name | Description | |
|---|---|---|
| IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. |