From 1decea54ab9cc55d7f1840496dc959749317e98f Mon Sep 17 00:00:00 2001 From: Xander <102053371+fractalsbyx@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:07:24 -0500 Subject: [PATCH] make loadVariableAttributes and loadPostProcessorVariableAttributes virtual also make variableAttributeLoader attributes private (read-only through getter) --- include/core/variableAttributeLoader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/core/variableAttributeLoader.h b/include/core/variableAttributeLoader.h index 503b7605..dc9fcd47 100644 --- a/include/core/variableAttributeLoader.h +++ b/include/core/variableAttributeLoader.h @@ -23,13 +23,13 @@ class variableAttributeLoader /** * \brief User-facing method where the variable attributes are set. */ - void + virtual void loadVariableAttributes(); /** * \brief User-facing method where the postprocessing variable attributes are set. */ - void + virtual void loadPostProcessorVariableAttributes(); /** @@ -204,6 +204,7 @@ class variableAttributeLoader [[nodiscard]] AttributesList get_pp_attributes() const; +private: /** * \brief The solutions variable attributes */ @@ -220,7 +221,6 @@ class variableAttributeLoader */ AttributesList *relevant_attributes = nullptr; -private: /** * \brief Perform a suite of assertions on attributes and pp_attributes to ensure that * the user's inputs are well-formed