Class: OpenCV::Cv::FileNodeIterator

Inherits:
Object
  • Object
show all
Extended by:
FFI::DataConverter
Defined in:
lib/ropencv/ropencv_types.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

Raises:

  • (ArgumentError)


23453
23454
23455
23456
23457
23458
23459
23460
# File 'lib/ropencv/ropencv_types.rb', line 23453

def self.new(*args)
    if args.first.is_a?(FFI::Pointer) || args.first.is_a?(FileNodeIteratorStruct)
        raise ArgumentError, "too many arguments for creating #{self.name} from Pointer" unless args.size == 1
        return super(args.first)
    end

    raise ArgumentError, "no constructor for #{self}(#{args.inspect})"
end

.nullObject

returns a null pointer to the object



23449
23450
23451
# File 'lib/ropencv/ropencv_types.rb', line 23449

def self.null
    new(FileNodeIteratorStruct.new)
end

Instance Method Details

#!=(other) ⇒ Bool

Note:

method wrapper for bool cv::FileNodeIterator::operator!=(const cv::FileNodeIterator other)

Parameters:

Returns:

  • (Bool)


23560
23561
23562
23563
# File 'lib/ropencv/ropencv_types.rb', line 23560

def !=(other)
    __validate_pointer__
    Rbind::cv_file_node_iterator_operator_unequal( self, other)
end

#==(other) ⇒ Bool

Note:

method wrapper for bool cv::FileNodeIterator::operator==(const cv::FileNodeIterator other)

Parameters:

Returns:

  • (Bool)


23552
23553
23554
23555
# File 'lib/ropencv/ropencv_types.rb', line 23552

def ==(other)
    __validate_pointer__
    Rbind::cv_file_node_iterator_operator_equal( self, other)
end

#plusplus_operatorCv::FileNodeIterator

Note:

method wrapper for const cv::FileNodeIterator cv::FileNodeIterator::operator++()

methods



23537
23538
23539
23540
# File 'lib/ropencv/ropencv_types.rb', line 23537

def plusplus_operator()
    __validate_pointer__
    Rbind::cv_file_node_iterator_operator_plusplus( self)
end

#to_nodeCv::FileNode

Note:

method wrapper for const cv::FileNode cv::FileNodeIterator::operator*()

Returns:



23544
23545
23546
23547
# File 'lib/ropencv/ropencv_types.rb', line 23544

def to_node()
    __validate_pointer__
    Rbind::cv_file_node_iterator_to_node( self)
end

#to_sObject

converts FileNodeIterator into a string by crawling through all its attributes



23526
23527
23528
# File 'lib/ropencv/ropencv_types.rb', line 23526

def to_s
    "#<cv::FileNodeIterator >"
end