Skip to content

Commit

Permalink
make loadVariableAttributes and loadPostProcessorVariableAttributes v…
Browse files Browse the repository at this point in the history
…irtual (#372)

also make variableAttributeLoader attributes private (read-only through getter)
  • Loading branch information
fractalsbyx authored Dec 22, 2024
1 parent a076c62 commit 992c771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/core/variableAttributeLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

/**
Expand Down Expand Up @@ -204,6 +204,7 @@ class variableAttributeLoader
[[nodiscard]] AttributesList
get_pp_attributes() const;

private:
/**
* \brief The solutions variable attributes
*/
Expand All @@ -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
Expand Down

0 comments on commit 992c771

Please sign in to comment.