Code generator for C++ from YAML to generate network protocol parsers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

48 lines
1.0 KiB

includes:
- <array>
- "\"bitops.hpp\""
classes:
-
name: record_identifier
attributes:
-
name: uuid
out_type: std::array<unsigned char, 16>
start: 0
class_name: record_identifier
-
name: x
out_type: bitops::regulated<uint32_t>
start: 16
class_name: record_identifier
-
name: y
out_type: bitops::regulated<uint32_t>
start: 20
class_name: record_identifier
bitfields: []
repeats: []
attributeafters: []
-
name: record
attributes:
-
name: record_id
out_type: std::array<unsigned char, 24>
start: 0
class_name: record
-
name: timestamp
out_type: bitops::regulated<uint64_t>
start: 24
class_name: record
-
name: offset
out_type: bitops::regulated<uint64_t>
start: 32
class_name: record
-
name: flags
out_type: bitops::regulated<uint32_t>
start: 40
class_name: record