pub trait FileNodeIteratorTrait: FileNodeIteratorTraitConst {
    fn as_raw_mut_FileNodeIterator(&mut self) -> *mut c_void;

    fn incr(&mut self) -> Result<FileNodeIterator> { ... }
    unsafe fn read_raw(
        &mut self,
        fmt: &str,
        vec: *mut c_void,
        len: size_t
    ) -> Result<FileNodeIterator> { ... } }

Required Methods

Provided Methods

moves iterator to the next node

Reads node elements to the buffer with the specified format.

Usually it is more convenient to use operator >> instead of this method.

Parameters
  • fmt: Specification of each array element. See @ref format_spec “format specification”
  • vec: Pointer to the destination array.
  • len: Number of bytes to read (buffer size limit). If it is greater than number of remaining elements then all of them will be read.
C++ default parameters
  • len: (size_t)INT_MAX

Implementors