Jake Hillion
063646a1d9
codegen: split genClassTypeHandler
2023-08-16 14:40:07 +01:00
Jake Hillion
d7cfcca30d
move all internal logic to oi::detail namespace
2023-07-26 18:01:38 +01:00
Alastair Robertson
e1b16a3d7e
TypeGraph: Switch from pointers to references
...
References must always have a value, so are semantically clearer than
pointers for variables which must always be set.
No functional changes.
2023-07-06 17:24:33 +01:00
Jake Hillion
099be82459
thrift isset: add type handler
2023-07-05 17:52:42 +01:00
Alastair Robertson
0330ef8945
Take list of pass-through types from config instead of hardcoding
...
As we now store ContainerInfo objects in OICodeGen::Config, we can not
copy it any more. Change all places that took copies to take const
references instead.
The copy in OICodeGen modified membersToStub, the contents of which form
part of OICache's hash. However, as OICache also previously had its own
copy, it would not have been OICodeGen's modifications.
2023-07-05 13:39:19 +01:00
Alastair Robertson
31050735d6
CodeGen: Add support for capturing Thrift isset data
2023-07-04 15:36:27 +01:00
Jake Hillion
db243d9845
codegen: store prev defined containers as a class field
2023-07-03 16:04:08 +01:00
Alastair Robertson
2edd781f9d
TypeGraph: Split CodeGen into separate functions for testing
2023-06-23 14:23:53 +01:00
Alastair Robertson
e01b3fd327
TypeGraph: Add new CodeGen
...
This code mostly works, but is obviously not complete. This commit just
adds the code and tests, but does not enable it in OID or OIL.
2023-05-30 16:40:47 +01:00