Allow Cpp::Function to have "virtual" and "pure_virtual" properties.
Add a dependencies section in the field_definitions documentation.
Expand the quintessence_from_yaml program to take in virtual and pure_virtual keys/value
Fix up the quintessence/Blast/Cpp/Function.q.json and use it as source to Cpp::Function source code.
Add infer_has_virtual_functions() to Cpp::Class for convenience.
Modify the destructor_declaration() in Cpp::ClassGenerator to prefix virtual in virtual ~Destructor(); when virtual functions are present along with test.
Format virtual and pure virtual function definitions and declarations appropriately in Cpp::ClassGenerator and add tests.
This PR adds a small smattering of features:
Cpp::Function
to have "virtual
" and "pure_virtual
" properties.dependencies
section in thefield_definitions
documentation.quintessence_from_yaml
program to take invirtual
andpure_virtual
keys/valuequintessence/Blast/Cpp/Function.q.json
and use it as source toCpp::Function
source code.infer_has_virtual_functions()
toCpp::Class
for convenience.destructor_declaration()
inCpp::ClassGenerator
to prefixvirtual
invirtual ~Destructor();
when virtual functions are present along with test.Cpp::ClassGenerator
and add tests.