Code generator for C++ from YAML to generate network protocol parsers
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

39 rader
835 B

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