
Public Member Functions | |
| def | __init__ (self, full_name, category) |
| def | __str__ (self) |
| def | get_data_type_signature (self) |
| def | get_max_bitlen (self) |
| def | get_min_bitlen (self) |
| def | get_normalized_definition (self) |
Public Attributes | |
| category | |
| full_name | |
Static Public Attributes | |
| int | CATEGORY_ARRAY = 1 |
| int | CATEGORY_COMPOUND = 2 |
| int | CATEGORY_PRIMITIVE = 0 |
| int | CATEGORY_VOID = 3 |
Static Private Attributes | |
| def | __repr__ = __str__ |
Common type description. The specialized type description classes inherit from this one.
Fields:
full_name Full type name string, e.g. "pyuavcan_v0.protocol.NodeStatus"
category Any CATEGORY_*
| def pyuavcan_v0.dsdl.parser.Type.__init__ | ( | self, | |
| full_name, | |||
| category | |||
| ) |
| def pyuavcan_v0.dsdl.parser.Type.get_data_type_signature | ( | self | ) |
Reimplemented in pyuavcan_v0.dsdl.parser.CompoundType, and pyuavcan_v0.dsdl.parser.ArrayType.
| def pyuavcan_v0.dsdl.parser.Type.get_max_bitlen | ( | self | ) |
Reimplemented in pyuavcan_v0.dsdl.parser.VoidType, pyuavcan_v0.dsdl.parser.ArrayType, and pyuavcan_v0.dsdl.parser.PrimitiveType.
| def pyuavcan_v0.dsdl.parser.Type.get_min_bitlen | ( | self | ) |
Reimplemented in pyuavcan_v0.dsdl.parser.VoidType, pyuavcan_v0.dsdl.parser.ArrayType, and pyuavcan_v0.dsdl.parser.PrimitiveType.
| def pyuavcan_v0.dsdl.parser.Type.get_normalized_definition | ( | self | ) |
|
staticprivate |
|
static |
|
static |