Functions | |
def | is_simple |
Variables | |
tuple | SIMPLE_TYPES = list(SIMPLE_TYPES_DICT.keys()) |
Simple types are primitives with fixed-serialization length. | |
dictionary | SIMPLE_TYPES_DICT |
Primitive type handling for ROS builtin types. |
def include.genpy.base.is_simple | ( | type_ | ) |
tuple include::genpy::base::SIMPLE_TYPES = list(SIMPLE_TYPES_DICT.keys()) |
dictionary include::genpy::base::SIMPLE_TYPES_DICT |
00001 { #see python module struct 00002 'int8': 'b', 00003 'uint8': 'B', 00004 # Python 2.6 adds in '?' for C99 _Bool, which appears equivalent to an uint8, 00005 # thus, we use uint8 00006 'bool': 'B', 00007 'int16' : 'h', 00008 'uint16' : 'H', 00009 'int32' : 'i', 00010 'uint32' : 'I', 00011 'int64' : 'q', 00012 'uint64' : 'Q', 00013 'float32': 'f', 00014 'float64': 'd', 00015 # deprecated 00016 'char' : 'B', #unsigned 00017 'byte' : 'b', #signed 00018 }
Primitive type handling for ROS builtin types.