Struct opencv::core::FileNodeIterator[][src]

pub struct FileNodeIterator { /* fields omitted */ }
Expand description

used to iterate through sequences and mappings.

A standard STL notation, with node.begin(), node.end() denoting the beginning and the end of a sequence, stored in node. See the data reading sample in the beginning of the section.

Implementations

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

Overloaded parameters
Parameters
  • node: File node - the collection to iterate over; it can be a scalar (equivalent to 1-element collection) or “none” (equivalent to empty collection).
  • seekEnd: - true if iterator needs to be set after the last element of the node; that is: * node.begin() => FileNodeIterator(node, false) * node.end() => FileNodeIterator(node, true)

The constructors.

These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator.

Overloaded parameters
Parameters
  • it: Iterator to be used as initialization for the created iterator.

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Executes the destructor for this type. Read more

Reads node elements to the buffer with the specified format. Read more

returns the currently observed element

returns the number of remaining (not read yet) elements

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.