Public Member Functions | |
def | __init__ |
def | make_deserialize |
def | make_enum_h |
def | make_footer_constructors |
def | make_footer_deserialize |
def | make_footer_enum |
def | make_footer_h |
def | make_footer_rawsize |
def | make_footer_serialize |
def | make_header_constructors |
def | make_header_deserialize |
def | make_header_enum |
def | make_header_h |
def | make_header_rawsize |
def | make_header_serialize |
def | make_raw_size |
def | make_request_constructors |
def | make_serialize |
def | make_struct_h |
def | make_struct_ser |
def | rename_fields |
def | run |
def | to_enum_type |
def | write_const |
def | write_deser |
def | write_enum |
def | write_h |
def | write_ser |
def | write_size |
Public Attributes | |
constructors_file | |
constructors_path | |
cpp_file | |
deserialize_file | |
deserialize_path | |
enum_file | |
enum_path | |
h_file | |
h_path | |
model | |
rawsize_file | |
rawsize_path | |
serialize_file | |
serialize_path | |
structs |
Definition at line 346 of file generate_protocol.py.
def generate_protocol.CodeGenerator.__init__ | ( | self, | |
model, | |||
h_path, | |||
enum_path, | |||
size_path, | |||
ser_path, | |||
deser_path, | |||
const_path | |||
) |
Definition at line 347 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_deserialize | ( | self, | |
struct | |||
) |
Definition at line 509 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_enum_h | ( | self, | |
enum | |||
) |
Definition at line 555 of file generate_protocol.py.
Definition at line 773 of file generate_protocol.py.
Definition at line 744 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_footer_enum | ( | self | ) |
Definition at line 648 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_footer_h | ( | self | ) |
Definition at line 617 of file generate_protocol.py.
Definition at line 678 of file generate_protocol.py.
Definition at line 712 of file generate_protocol.py.
Definition at line 752 of file generate_protocol.py.
Definition at line 719 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_header_enum | ( | self | ) |
Definition at line 622 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_header_h | ( | self | ) |
Definition at line 590 of file generate_protocol.py.
Definition at line 653 of file generate_protocol.py.
Definition at line 687 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_raw_size | ( | self, | |
struct | |||
) |
Definition at line 446 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_request_constructors | ( | self, | |
struct | |||
) |
Definition at line 540 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_serialize | ( | self, | |
struct | |||
) |
Definition at line 476 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_struct_h | ( | self, | |
struct | |||
) |
Definition at line 424 of file generate_protocol.py.
def generate_protocol.CodeGenerator.make_struct_ser | ( | self, | |
struct | |||
) |
Definition at line 550 of file generate_protocol.py.
def generate_protocol.CodeGenerator.rename_fields | ( | self, | |
struct | |||
) |
Definition at line 416 of file generate_protocol.py.
def generate_protocol.CodeGenerator.run | ( | self | ) |
Definition at line 359 of file generate_protocol.py.
def generate_protocol.CodeGenerator.to_enum_type | ( | self, | |
val | |||
) |
Definition at line 567 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_const | ( | self, | |
args | |||
) |
Definition at line 587 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_deser | ( | self, | |
args | |||
) |
Definition at line 584 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_enum | ( | self, | |
args | |||
) |
Definition at line 575 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_h | ( | self, | |
args | |||
) |
Definition at line 572 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_ser | ( | self, | |
args | |||
) |
Definition at line 578 of file generate_protocol.py.
def generate_protocol.CodeGenerator.write_size | ( | self, | |
args | |||
) |
Definition at line 581 of file generate_protocol.py.
Definition at line 359 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 359 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 359 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 359 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 359 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.
Definition at line 347 of file generate_protocol.py.