Class: OpenCV::CvDTreeNode
- Inherits:
-
Object
- Object
- OpenCV::CvDTreeNode
- 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 CvDTreeNode into a string by crawling through all its attributes.
Class Method Details
.new(*args) ⇒ Object
40997 40998 40999 41000 41001 41002 41003 41004 |
# File 'lib/ropencv/ropencv_types.rb', line 40997 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(CvDTreeNodeStruct) 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
40993 40994 40995 |
# File 'lib/ropencv/ropencv_types.rb', line 40993 def self.null new(CvDTreeNodeStruct.new) end |
Instance Method Details
#to_s ⇒ Object
converts CvDTreeNode into a string by crawling through all its attributes
41070 41071 41072 |
# File 'lib/ropencv/ropencv_types.rb', line 41070 def to_s "#<CvDTreeNode >" end |