Click or drag to resize

FileNode Class

File Storage Node class
Inheritance Hierarchy

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
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.)
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 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
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
Public methodReadDMatches
Public methodReadDouble
Public methodReadFloat
Public methodReadInt
Public methodReadKeyPoint
Public methodReadKeyPoints
Public methodReadMat
Public methodReadObj
Reads the registered object and returns pointer to it
Public methodReadPoint
Public methodReadPoint2d
Public methodReadPoint2f
Public methodReadPoint3d
Public methodReadPoint3f
Public methodReadPoint3i
Public methodReadRange
Public methodReadRaw
Reads node elements to the buffer with the specified format
Public methodReadRect
Public methodReadRect2d
Public methodReadRect2f
Public methodReadScalar
Public methodReadSize
Public methodReadSize2d
Public methodReadSize2f
Public methodReadSparseMat
Public methodReadString
Public methodReadVec2b
Public methodReadVec2d
Public methodReadVec2f
Public methodReadVec2i
Public methodReadVec2s
Public methodReadVec2w
Public methodReadVec3b
Public methodReadVec3d
Public methodReadVec3f
Public methodReadVec3i
Public methodReadVec3s
Public methodReadVec3w
Public methodReadVec4b
Public methodReadVec4d
Public methodReadVec4f
Public methodReadVec4i
Public methodReadVec4s
Public methodReadVec4w
Public methodReadVec6b
Public methodReadVec6d
Public methodReadVec6f
Public methodReadVec6i
Public methodReadVec6s
Public methodReadVec6w
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
Fields
  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Top
See Also