Freeciv-3.2
|
Public Member Functions | |
__init__ (self, str dataio_type, str public_type, SizeInfo size) | |
str | get_code_declaration (self, Location location) |
str | get_code_handle_param (self, Location location) |
str | get_code_fill (self, Location location) |
str | __str__ (self) |
![]() | |
str | get_code_hash (self, Location location) |
str | get_code_cmp (self, Location location) |
str | get_code_put (self, Location location, bool deep_diff=False) |
str | get_code_get (self, Location location, bool deep_diff=False) |
![]() | |
"FieldType" | array (self, SizeInfo size) |
str | get_code_handle_arg (self, Location location) |
![]() | |
str | __repr__ (self) |
Data Fields | |
size | |
![]() | |
dataio_type | |
public_type | |
Additional Inherited Members | |
![]() | |
bool | foldable = False |
Abstract base class (ABC) for field types that include a size
Definition at line 1008 of file generate_packets.py.
Reimplemented from generate_packets.BasicType.
Reimplemented in generate_packets.StringType, and generate_packets.MemoryType.
Definition at line 1011 of file generate_packets.py.
str generate_packets.SizedType.__str__ | ( | self | ) |
Reimplemented from generate_packets.BasicType.
Definition at line 1030 of file generate_packets.py.
Generate a code snippet declaring a field with this type in a packet struct.
Reimplemented from generate_packets.BasicType.
Definition at line 1016 of file generate_packets.py.
Generate a code snippet moving a value of this type from dsend arguments into a packet struct.
Reimplemented from generate_packets.BasicType.
Reimplemented in generate_packets.StringType, and generate_packets.MemoryType.
Definition at line 1027 of file generate_packets.py.
Generate a code fragment declaring a parameter with this type for a handle function. See also self.get_code_handle_arg()
Reimplemented from generate_packets.BasicType.
Definition at line 1021 of file generate_packets.py.
generate_packets.SizedType.size |
Definition at line 1013 of file generate_packets.py.