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)


14290
14291
14292
14293
14294
14295
14296
14297
# File 'lib/ropencv/ropencv_types.rb', line 14290

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



14286
14287
14288
# File 'lib/ropencv/ropencv_types.rb', line 14286

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)


14404
14405
14406
14407
# File 'lib/ropencv/ropencv_types.rb', line 14404

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)


14396
14397
14398
14399
# File 'lib/ropencv/ropencv_types.rb', line 14396

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

#minusminus_operatorCv::FileNodeIterator

Note:

method wrapper for cv::FileNodeIterator cv::FileNodeIterator::operator--()



14381
14382
14383
14384
# File 'lib/ropencv/ropencv_types.rb', line 14381

def minusminus_operator()
    __validate_pointer__
    Rbind::cv_file_node_iterator_operator_minusminus( self)
end

#plusplus_operatorCv::FileNodeIterator

Note:

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

methods



14374
14375
14376
14377
# File 'lib/ropencv/ropencv_types.rb', line 14374

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

#to_nodeCv::FileNode

Note:

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

Returns:



14388
14389
14390
14391
# File 'lib/ropencv/ropencv_types.rb', line 14388

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



14363
14364
14365
# File 'lib/ropencv/ropencv_types.rb', line 14363

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