class Typelib::NumericType

Public Class Methods

contains_int64?() click to toggle source
# File lib/orogen/gen/typekit.rb, line 124
def self.contains_int64?
    integer? && size == 8
end
cxx_name() click to toggle source
# 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?() click to toggle source
# File lib/orogen/gen/typekit.rb, line 128
def self.inlines_code?; superclass.eql?(NumericType) end