Click or drag to resize

FileNode Class

File Storage Node class
Inheritance Hierarchy

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public class FileNode : DisposableCvObject, IEnumerable<FileNode>, 
	IEnumerable

The FileNode type exposes the following members.

Constructors
  NameDescription
Public methodFileNode
The default constructor
Public methodFileNode(IntPtr)
Initializes from cv::FileNode*
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.)
Protected propertyDataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Public propertyEmpty
Returns true if the node is empty
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 propertyIsInt
Returns true if the node is an integer
Public propertyIsMap
Returns true if the node is a mapping
Public propertyIsNamed
Returns true if the node has a name
Public propertyIsNone
Returns true if the node is a "none" object
Public propertyIsReal
Returns true if the node is a floating-point number
Public propertyIsSeq
Returns true if the node is a sequence
Public propertyIsString
Returns true if the node is a text string
Public propertyItemInt32
returns element of a sequence node
Public propertyItemString
returns element of a mapping node
Public propertyName
Returns the node name or an empty string if the node is nameless
Public propertySize
Returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
Public propertyType
Returns type of the node.
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 methodBegin
returns iterator pointing to the first node element
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 methodEnd
returns iterator pointing to the element following the last node element
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetEnumerator
Get FileNode iterator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 methodReadDMatch
Reads the node element as DMatch
Public methodReadDMatches
Reads the node element as DMatch[]
Public methodReadDouble
Reads the node element as Double
Public methodReadFloat
Reads the node element as Single (float)
Public methodReadInt
Reads the node element as Int32 (int)
Public methodReadKeyPoint
Reads the node element as KeyPoint
Public methodReadKeyPoints
Reads the node element as KeyPoint[]
Public methodReadMat
Reads the node element as Mat
Public methodReadPoint
Reads the node element as Point
Public methodReadPoint2d
Reads the node element as Point2d
Public methodReadPoint2f
Reads the node element as Point2f
Public methodReadPoint3d
Reads the node element as Point3d
Public methodReadPoint3f
Reads the node element as Point3f
Public methodReadPoint3i
Reads the node element as Point3i
Public methodReadRange
Reads the node element as Range
Public methodReadRaw
Reads node elements to the buffer with the specified format
Public methodReadRect
Reads the node element as Rect
Public methodReadRect2d
Reads the node element as Rect2d
Public methodReadRect2f
Reads the node element as Rect2f
Public methodReadScalar
Reads the node element as Scalar
Public methodReadSize
Reads the node element as Size
Public methodReadSize2d
Reads the node element as Size2d
Public methodReadSize2f
Reads the node element as Size2f
Public methodReadSparseMat
Reads the node element as SparseMat
Public methodReadString
Reads the node element as String
Public methodReadVec2b
Reads the node element as Vector
Public methodReadVec2d
Reads the node element as Vector
Public methodReadVec2f
Reads the node element as Vector
Public methodReadVec2i
Reads the node element as Vector
Public methodReadVec2s
Reads the node element as Vector
Public methodReadVec2w
Reads the node element as Vector
Public methodReadVec3b
Public methodReadVec3d
Reads the node element as Vector
Public methodReadVec3f
Reads the node element as Vector
Public methodReadVec3i
Reads the node element as Vector
Public methodReadVec3s
Reads the node element as Vector
Public methodReadVec3w
Reads the node element as Vector
Public methodReadVec4b
Reads the node element as Vector
Public methodReadVec4d
Reads the node element as Vector
Public methodReadVec4f
Reads the node element as Vector
Public methodReadVec4i
Reads the node element as Vector
Public methodReadVec4s
Reads the node element as Vector
Public methodReadVec4w
Reads the node element as Vector
Public methodReadVec6b
Reads the node element as Vector
Public methodReadVec6d
Reads the node element as Vector
Public methodReadVec6f
Reads the node element as Vector
Public methodReadVec6i
Reads the node element as Vector
Public methodReadVec6s
Reads the node element as Vector
Public methodReadVec6w
Reads the node element as Vector
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToDouble
Returns the node content as double
Public methodToInt32
Returns the node content as an integer. If the node stores floating-point number, it is rounded.
Public methodToMat
Returns the node content as OpenCV Mat
Public methodToSingle
Returns the node content as System.Single
Public methodToString
Returns the node content as text string
(Overrides ObjectToString.)
Top
Operators
Fields
  NameDescription
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also