Class: Typelib::NumericType
- Inherits:
-
Object
- Object
- Typelib::NumericType
- Defined in:
- lib/orogen/gen/typekit.rb,
lib/orogen/typenames.rb
Class Method Summary collapse
Class Method Details
.contains_int64? ⇒ Boolean
125 126 127 |
# File 'lib/orogen/gen/typekit.rb', line 125 def self.contains_int64? integer? && size == 8 end |
.cxx_name ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/orogen/typenames.rb', line 92 def self.cxx_name if integer? if name == "/bool" "bool" elsif name == "/char" "char" elsif name == "/unsigned char" "unsigned char" else "boost::#{'u' if unsigned?}int#{size * 8}_t" end else basename end end |
.inlines_code? ⇒ Boolean
129 |
# File 'lib/orogen/gen/typekit.rb', line 129 def self.inlines_code?; superclass.eql?(NumericType) end |