class CppField(CField):
- def __init__(
- self,
- field_name,
- field_type,
- array_len=None,
- nelem_field=None):
- super(CppField, self).__init__(
- field_name, field_type, array_len, nelem_field)
+ pass
class CppStruct(CStruct):
- def __init__(self, name, fields):
- super(CppStruct, self).__init__(name, fields)
+ pass
class CppSimpleType (CSimpleType):
- def __init__(self, name):
- super(CppSimpleType, self).__init__(name)
+ pass
class CppStructType (CStructType, CppStruct):
- def __init__(self, definition, typedict, field_class):
- super(CppStructType, self).__init__(definition, typedict, field_class)
+ pass
class CppMessage (CMessage):
- def __init__(self, logger, definition, typedict,
- struct_type_class, simple_type_class, field_class):
- super(CppMessage, self).__init__(
- logger, definition, typedict, struct_type_class,
- simple_type_class, field_class)
-
def get_swap_to_be_template_instantiation(self):
return "\n".join([
"template <> inline void vapi_swap_to_be<%s>(%s *msg)" %