Commit Graph

9487 Commits

Author SHA1 Message Date
kevstone 6813425c64 Fixed bug with function_call conversion 2024-02-11 11:21:40 +00:00
kevstone 0824ea8865 Fixed issue parsing grib_section member [parent] 2024-02-11 09:22:44 +00:00
kevstone e23dcdd798 Automatically detect if member function is non-const 2024-02-11 07:52:04 +00:00
kevstone ea6fa100c6 templates converting correctly now 2024-02-11 00:04:55 +00:00
kevstone 5316b0684b Refactor conversion_data ready for funcsig_mapping changes 2024-02-10 17:11:31 +00:00
kevstone 4f09d13b50 Improved visibility of member funcs globally 2024-02-10 16:37:42 +00:00
kevstone 1ed85d67d6 Fixed funcsig arg mapping bug 2024-02-10 10:25:14 +00:00
kevstone 74673d6220 Fixed arg issue in constructor 2024-02-10 09:01:34 +00:00
kevstone ea49245513 Removed duplicate member functions in header 2024-02-10 08:52:36 +00:00
kevstone 6bf0736e83 Initial support for template function conversion 2024-02-09 21:07:20 +00:00
kevstone 6090d642aa Bit accessor now converting correctly 2024-02-09 14:06:52 +00:00
kevstone bf05cfc779 Moved creation of default constructor to ccode object to ensure correct conversion 2024-02-09 08:13:33 +00:00
kevstone 542ed863a2 Added default constructor if no C version exists 2024-02-08 16:27:05 +00:00
kevstone 963c28a1de LongData converting fully 2024-02-08 14:50:26 +00:00
kevstone 5999f9001b Fixed sizeof parse bug 2024-02-08 13:14:47 +00:00
kevstone 0d3692512e Added conversion from malloc to CONTAINER.resize() 2024-02-08 12:11:15 +00:00
kevstone a481d3896c Can now distinguish between grib_xxx call that is calling self versus another class 2024-02-08 08:56:02 +00:00
kevstone c2fcbdd126 Added ret as GribStatus return value 2024-02-08 08:09:25 +00:00
kevstone 6e889576fc Fixed bug with detecting base func calls 2024-02-07 23:22:12 +00:00
kevstone ba803aa537 Added support for using Class::func 2024-02-07 23:00:10 +00:00
kevstone 7a575acd5a grib_unpack processing 2024-02-07 10:37:31 +00:00
kevstone 62f3edcd71 Re-added support for parsing parents 2024-02-06 20:24:29 +00:00
kevstone aac39e9f67 More conversion bug fixes 2024-02-06 19:01:11 +00:00
kevstone 508d386311 Final conversion fixes for ASCII accessor 2024-02-06 15:41:30 +00:00
kevstone 97b01e1374 Fixed return statement bug 2024-02-06 15:13:46 +00:00
kevstone 57a02f2831 Containers default initialised with size where required 2024-02-06 12:45:16 +00:00
kevstone d01526d514 Added default init value for containers 2024-02-06 10:00:29 +00:00
kevstone ded91257b4 Added support for assigning single values to a C++ container 2024-02-06 09:04:40 +00:00
kevstone dbe4544c1f Converting grib(Un)PackXXX to member function calls 2024-02-05 22:03:49 +00:00
kevstone 620d90b5ea Added better identification of converted data members 2024-02-05 20:40:17 +00:00
kevstone e116818d71 Added support for well-known C function conversions 2024-02-05 14:35:45 +00:00
kevstone e7e0585ca3 Added rule to convert len[0] correctly 2024-02-05 10:31:57 +00:00
kevstone 2d70639cc9 Added support for virtual funcs with no C++ conversion defined (yet) 2024-02-05 09:15:18 +00:00
kevstone 30e7ee9b6d Fixed GribStatus return type bug 2024-02-04 18:47:03 +00:00
kevstone c7fd597563 Updates to assist with return code processing... 2024-02-04 18:23:28 +00:00
kevstone 2123683e85 Fixed issue recognising & types 2024-02-04 17:44:11 +00:00
kevstone 71a0a04e39 Updated container_utils to override for accessors 2024-02-04 12:10:15 +00:00
kevstone 34fff52f24 Added while statement conversion 2024-02-04 11:10:02 +00:00
kevstone bcd83f8864 Fixed issue parsing multiple indirections, e.g. a->b->c 2024-02-02 09:48:14 +00:00
kevstone 8633a3e9c5 Fixed variable parsing issue 2024-02-02 08:06:31 +00:00
kevstone 48b7cadeca Added remaining base conversion validators 2024-02-01 19:40:52 +00:00
kevstone 1d2e1c7518 Fixed issue with incorrect prefix/postfix conversion 2024-02-01 18:05:35 +00:00
kevstone fa2bd6ec64 ProjString now fully converting 2024-02-01 11:10:36 +00:00
kevstone 2f025dea05 Macro parsing (finally) working! 2024-02-01 07:53:00 +00:00
kevstone a65632c174 Fixed issue parsing struct func call 2024-01-30 08:18:32 +00:00
kevstone d444fcd632 Improved C++ container size handling 2024-01-29 21:50:19 +00:00
kevstone cc0a793745 Added more advanced conversions 2024-01-29 19:57:27 +00:00
kevstone 9030f1f4ba Added funcsig buffer mappings 2024-01-26 15:26:50 +00:00
kevstone caaae6360d Prep for buffer class 2024-01-26 14:29:28 +00:00
kevstone a4af69f1b5 Added additional C to C++ conversions 2024-01-26 11:55:35 +00:00