Update codegen and make use of the new parenting method

This commit is contained in:
Alexander Bock
2022-02-23 13:20:36 +01:00
parent 78fd5b78da
commit 7cb38b6c9c
16 changed files with 46 additions and 197 deletions
@@ -52,20 +52,10 @@ namespace {
namespace openspace {
documentation::Documentation RenderablePlaneImageOnline::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>(
"base_renderable_plane_image_online"
return codegen::doc<Parameters>(
"base_renderable_plane_image_online",
RenderablePlane::Documentation()
);
// @TODO cleanup
// Insert the parents documentation entries until we have a verifier that can deal
// with class hierarchy
documentation::Documentation parentDoc = RenderablePlane::Documentation();
doc.entries.insert(
doc.entries.end(),
parentDoc.entries.begin(),
parentDoc.entries.end()
);
return doc;
}
RenderablePlaneImageOnline::RenderablePlaneImageOnline(