Show / Hide Table of Contents

Class FileNodeIterator

File Storage Node class

Inheritance
System.Object
DisposableObject
DisposableCvObject
FileNodeIterator
Implements
ICvPtrHolder
IEquatable<FileNodeIterator>
System.Collections.IEnumerator<FileNode>
Inherited Members
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class FileNodeIterator : DisposableCvObject, ICvPtrHolder

Constructors

| Improve this Doc View Source

FileNodeIterator()

The default constructor

Declaration
public FileNodeIterator()
| Improve this Doc View Source

FileNodeIterator(IntPtr)

Initializes from cv::FileNode*

Declaration
public FileNodeIterator(IntPtr ptr)
Parameters
Type Name Description
IntPtr ptr

Properties

| Improve this Doc View Source

Current

*iterator

Declaration
public FileNode Current { get; }
Property Value
Type Description
FileNode

Methods

| Improve this Doc View Source

DisposeUnmanaged()

Releases unmanaged resources

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Equals(FileNodeIterator)

Declaration
public bool Equals(FileNodeIterator other)
Parameters
Type Name Description
FileNodeIterator other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

LessThan(FileNodeIterator)

Declaration
public bool LessThan(FileNodeIterator it)
Parameters
Type Name Description
FileNodeIterator it
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Minus(FileNodeIterator)

Declaration
public long Minus(FileNodeIterator it)
Parameters
Type Name Description
FileNodeIterator it
Returns
Type Description
System.Int64
| Improve this Doc View Source

MoveNext()

iterator++

Declaration
public bool MoveNext()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

MoveNext(Int32)

iterator += ofs

Declaration
public bool MoveNext(int ofs)
Parameters
Type Name Description
System.Int32 ofs
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ReadRaw(String, IntPtr, Int64)

Reads node elements to the buffer with the specified format. Usually it is more convenient to use operator >> instead of this method.

Declaration
public FileNodeIterator ReadRaw(string fmt, IntPtr vec, long maxCount = 2147483647L)
Parameters
Type Name Description
System.String fmt

Specification of each array element.See @ref format_spec "format specification"

IntPtr vec

Pointer to the destination array.

System.Int64 maxCount

Number of elements to read. If it is greater than number of remaining elements then all of them will be read.

Returns
Type Description
FileNodeIterator
| Improve this Doc View Source

ReadRaw(String, Byte[], Int64)

Reads node elements to the buffer with the specified format. Usually it is more convenient to use operator >> instead of this method.

Declaration
public FileNodeIterator ReadRaw(string fmt, byte[] vec, long maxCount = 2147483647L)
Parameters
Type Name Description
System.String fmt

Specification of each array element.See @ref format_spec "format specification"

System.Byte[] vec

Pointer to the destination array.

System.Int64 maxCount

Number of elements to read. If it is greater than number of remaining elements then all of them will be read.

Returns
Type Description
FileNodeIterator
| Improve this Doc View Source

Reset()

IEnumerable<T>.Reset

Declaration
public void Reset()

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerator.Current

Declaration
object IEnumerator.Current { get; }
Returns
Type Description
System.Object

Implements

ICvPtrHolder
IEquatable<>
System.Collections.IEnumerator<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX