Code generator for C++ from YAML to generate network protocol parsers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

78 lignes
1.6 KiB

il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
  1. includes:
  2. - <array>
  3. namespace: db
  4. classes:
  5. -
  6. name: record_identifier
  7. size: 24
  8. attributes:
  9. -
  10. name: uuid
  11. out_type: std::array<unsigned char, 16>
  12. start: 0
  13. -
  14. name: x
  15. out_type: uint32_t
  16. start: 16
  17. -
  18. name: y
  19. out_type: uint32_t
  20. start: 20
  21. -
  22. name: record
  23. size: 64
  24. attributes:
  25. -
  26. name: record_id
  27. out_type: std::array<unsigned char, 24>
  28. start: 0
  29. -
  30. name: timestamp
  31. out_type: uint64_t
  32. start: 24
  33. attributeafters:
  34. -
  35. name: offset
  36. out_type: uint64_t
  37. after_name: timestamp
  38. bitfields:
  39. -
  40. name: flags
  41. out_type: uint16_t
  42. start: 40
  43. mask: 0b1110000000000000
  44. -
  45. name: v_flag
  46. out_type: uint16_t
  47. after_name: offset
  48. start: 40
  49. mask: 0b1000000000000000
  50. -
  51. name: r_flags
  52. out_type: uint16_t
  53. start: 40
  54. mask: 0b0100000000000000
  55. -
  56. name: c_flags
  57. out_type: uint16_t
  58. start: 40
  59. mask: 0b0010000000000000
  60. -
  61. name: confirmed
  62. out_type: uint16_t
  63. start: 40
  64. mask: 0b0010000000000000
  65. -
  66. name: validated
  67. out_type: uint16_t
  68. start: 40
  69. mask: 0b1010000000000000
  70. -
  71. name: removed
  72. out_type: uint16_t
  73. start: 40
  74. mask: 0b0100000000000000
  75. -
  76. name: next_jump
  77. out_type: uint16_t
  78. start: 40
  79. mask: 0b0000111111111111