33 Commits

Author SHA1 Message Date
Will MacCormack
666718f49d Move to Fw::Endianness::BIG 2025-10-10 18:00:24 -05:00
Will MacCormack
b5e4c7b23f Add Little Endian Serialization Option 2025-10-10 07:59:03 -05:00
Rob Bocchino
5dc78fb4c6 Revise assertion in generated code 2025-08-21 10:59:09 -07:00
Rob Bocchino
8428fa8c5c Refactor array code gen 2025-08-20 13:21:47 -07:00
Rob Bocchino
129aeaa8c6 Revise array code gen
Pass initializer list by reference in constructor

This seems to help the compiler disambiguate constructor arguments
in some cases
2025-08-19 15:09:13 -07:00
Rob Bocchino
ea5486c3a3 Revise code generation for arrays
Remove multi-element constructor
Use initializer list constructor instead
2025-08-19 14:52:29 -07:00
Rob Bocchino
71163724f8 Revise array code gen
Add initializer list constructor
2025-08-19 13:31:14 -07:00
Rob Bocchino
413e2a8e44 Revise array code gen
Use the single-value constructor when all the element values
are the same
2025-08-19 13:21:42 -07:00
Rob Bocchino
597935d1cc Revise array code gen
Use FwSizeType instead of U32 for indices
Add operator= with initializer list
2025-08-19 08:38:09 -07:00
Rob Bocchino
48c31f571a Revise array code gen 2025-08-18 17:46:51 -07:00
Rob Bocchino
1b882aa8db
Merge branch 'main' into tumbar-serialize-deprecated 2025-08-01 09:47:18 -07:00
Andrei Tumbar
faa74d6316 Deprecate serialize/deserialize in favor of [de]serialize[From/To] 2025-07-30 19:16:59 -07:00
jawest
c52306a06f Regen fpp-to-cpp test ref files 2025-07-30 10:17:04 -07:00
Andrei Tumbar
036512c9c5 Array toString() with loop 2025-05-15 15:08:34 -07:00
Rob Bocchino
21bf12f4f7 Revert changes to C++ code gen 2024-06-20 08:22:22 -07:00
Justine West
3dcc43dfdb update test ref files 2024-06-18 16:32:39 -07:00
Justine West
e8ad293e5e updated fpp-to-cpp test ref files 2024-06-18 11:58:36 -07:00
Rob Bocchino
9c09863a9d Revise array code gen 2024-05-10 14:15:40 -07:00
Rob Bocchino
f706e977bb Revise C++ code gen
Remove unused header includes
2024-05-01 10:06:16 -07:00
Rob Bocchino
edc3ce9b96 Revise string code gen for arrays 2024-04-30 14:15:53 -07:00
Rob Bocchino
cc1a63ce2c Revise string code gen 2024-04-30 08:40:20 -07:00
Rob Bocchino
948cdf2100 Revise struct and array code gen 2024-04-30 08:36:31 -07:00
Robert L. Bocchino Jr
dab91ee1b3 Revise C++ code gen
Remove uses of NATIVE_UINT_TYPE
2024-02-27 22:48:34 -08:00
Simone Morettini
d384d0464b Add index and size of array when asserting index is smaller than the size 2023-12-19 13:01:41 +00:00
Tiffany Chieu
2729384d12 Update unit tests 2023-08-02 12:46:04 -07:00
Tiffany Chieu
7bb1e9ba39 Fix conditional compilation of toString function in generated array code 2023-08-01 12:10:54 -07:00
tiffany1618
7e38b6e1e5 Fix C++ array toString() member function 2022-07-12 09:49:14 -07:00
bocchino
8187b05e51 Revise headers for generated C++ 2022-07-08 14:02:55 -07:00
tiffany1618
f53278097d Syntax adjustment for C++ arrays 2022-07-07 17:52:11 -07:00
tiffany1618
2517f2cfd1 Update unit tests for C++ array writer 2022-07-06 16:48:13 -07:00
tiffany1618
a32f02d3c5 Add abstract type test/update unit tests for C++ array writer 2022-07-05 15:03:21 -07:00
tiffany1618
a4fccada2f Update unit tests for C++ array writer 2022-07-05 14:27:25 -07:00
tiffany1618
85aee460fc Fix unit tests for fpp-to-cpp arrays 2022-07-05 11:56:20 -07:00