Class: OpenCV::Cv::Detail::MatchesInfo
- Inherits:
-
Object
- Object
- OpenCV::Cv::Detail::MatchesInfo
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/ropencv/ropencv_types.rb
Class Method Summary collapse
- .new(*args) ⇒ Object
-
.null ⇒ Object
returns a null pointer to the object.
Instance Method Summary collapse
-
#to_s ⇒ Object
converts MatchesInfo into a string by crawling through all its attributes.
Class Method Details
.new(*args) ⇒ Object
11422 11423 11424 11425 11426 11427 11428 11429 |
# File 'lib/ropencv/ropencv_types.rb', line 11422 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(MatchesInfoStruct) 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 |
.null ⇒ Object
returns a null pointer to the object
11418 11419 11420 |
# File 'lib/ropencv/ropencv_types.rb', line 11418 def self.null new(MatchesInfoStruct.new) end |
Instance Method Details
#to_s ⇒ Object
converts MatchesInfo into a string by crawling through all its attributes
11495 11496 11497 |
# File 'lib/ropencv/ropencv_types.rb', line 11495 def to_s "#<cv::detail::MatchesInfo >" end |