Click or drag to resize
FileNode Class
File Storage Node class. The node is used to store each and every element of the file storage opened for reading. When XML/YAML file is read, it is first parsed and stored in the memory as a hierarchical collection of nodes. Each node can be a “leaf” that is contain a single number or a string, or be a collection of other nodes. There can be named collections (mappings) where each element has a name and it is accessed by a name, and ordered collections (sequences) where elements do not have names but rather accessed by index. Type of the file node can be determined using FileNode::type method. Note that file nodes are only used for navigating file storages opened for reading. When a file storage is opened for writing, no data is stored in memory after it is written.
Inheritance Hierarchy

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public class FileNode : UnmanagedObject

The FileNode type exposes the following members.

Public propertyIsEmpty
Gets a value indicating whether this instance is empty.
Public propertyNodeType
Gets the type of the node.
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadDouble
Reads the double from the node.
Public methodReadFloat
Reads the float from the node.
Public methodReadInt
Reads the int from the node.
Public methodReadMat
Reads a Mat from the node
Public methodReadString
Reads the string from the node
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
See Also