mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 01:09:34 -05:00
Adapt to changes in codegen that require specifying the identifier in the codegen::doc function
This commit is contained in:
@@ -40,9 +40,7 @@ namespace {
|
||||
namespace openspace::planetgeometry {
|
||||
|
||||
documentation::Documentation PlanetGeometry::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_geometry_planet";
|
||||
return doc;
|
||||
return codegen::doc<Parameters>("space_geometry_planet");
|
||||
}
|
||||
|
||||
std::unique_ptr<PlanetGeometry> PlanetGeometry::createFromDictionary(
|
||||
|
||||
@@ -99,11 +99,8 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableConstellationBounds::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderable_constellationbounds";
|
||||
return doc;
|
||||
} // namespace
|
||||
|
||||
return codegen::doc<Parameters>("space_renderable_constellationbounds");
|
||||
}
|
||||
|
||||
RenderableConstellationBounds::RenderableConstellationBounds(
|
||||
const ghoul::Dictionary& dictionary)
|
||||
|
||||
@@ -96,8 +96,9 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableHabitableZone::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderablehabitablezone";
|
||||
documentation::Documentation doc = codegen::doc<Parameters>(
|
||||
"space_renderablehabitablezone"
|
||||
);
|
||||
|
||||
// @TODO cleanup
|
||||
// Insert the parents documentation entries until we have a verifier that can deal
|
||||
|
||||
@@ -262,9 +262,7 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableOrbitalKepler::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderableorbitalkepler";
|
||||
return doc;
|
||||
return codegen::doc<Parameters>("space_renderableorbitalkepler");
|
||||
}
|
||||
|
||||
double RenderableOrbitalKepler::calculateSemiMajorAxis(double meanMotion) const {
|
||||
|
||||
@@ -103,9 +103,7 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableRings::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderable_rings";
|
||||
return doc;
|
||||
return codegen::doc<Parameters>("space_renderable_rings");
|
||||
}
|
||||
|
||||
RenderableRings::RenderableRings(const ghoul::Dictionary& dictionary)
|
||||
|
||||
@@ -64,8 +64,9 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableSatellites::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderablesatellites";
|
||||
documentation::Documentation doc = codegen::doc<Parameters>(
|
||||
"space_renderablesatellites"
|
||||
);
|
||||
|
||||
// Insert the parents documentation entries until we have a verifier that can deal
|
||||
// with class hierarchy
|
||||
|
||||
@@ -98,8 +98,9 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableSmallBody::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderablesmallbody";
|
||||
documentation::Documentation doc = codegen::doc<Parameters>(
|
||||
"space_renderablesmallbody"
|
||||
);
|
||||
|
||||
// Insert the parents documentation entries until we have a verifier that can deal
|
||||
// with class hierarchy
|
||||
|
||||
@@ -450,9 +450,7 @@ namespace {
|
||||
namespace openspace {
|
||||
|
||||
documentation::Documentation RenderableStars::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_renderablestars";
|
||||
return doc;
|
||||
return codegen::doc<Parameters>("space_renderablestars");
|
||||
}
|
||||
|
||||
RenderableStars::RenderableStars(const ghoul::Dictionary& dictionary)
|
||||
|
||||
@@ -55,9 +55,7 @@ namespace {
|
||||
namespace openspace::planetgeometry {
|
||||
|
||||
documentation::Documentation SimpleSphereGeometry::Documentation() {
|
||||
documentation::Documentation doc = codegen::doc<Parameters>();
|
||||
doc.id = "space_geometry_simplesphere";
|
||||
return doc;
|
||||
return codegen::doc<Parameters>("space_geometry_simplesphere");
|
||||
}
|
||||
|
||||
SimpleSphereGeometry::SimpleSphereGeometry(const ghoul::Dictionary& dictionary)
|
||||
|
||||
Reference in New Issue
Block a user