Skip to content

Commit

Permalink
STYLE: Deprecate Get/SetParameterMap in favor of Get/SetParameterMaps
Browse files Browse the repository at this point in the history
Follow-up to pull request #848 commit 38b6152 "ENH: Add GetParameterMaps and SetParameterMaps to ParameterObject".
  • Loading branch information
N-Dekker committed Mar 29, 2023
1 parent 066d767 commit ad52d39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Core/Main/elxParameterObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,19 @@ class ParameterObject : public itk::DataObject
SetParameterMap(const ParameterMapType & parameterMap);
void
SetParameterMap(const unsigned int index, const ParameterMapType & parameterMap);
void

[[deprecated("Instead of calling this overload, please call SetParameterMaps")]] void
SetParameterMap(const ParameterMapVectorType & parameterMaps);

void
SetParameterMaps(const ParameterMapVectorType & parameterMaps);

void
AddParameterMap(const ParameterMapType & parameterMap);
const ParameterMapType &
GetParameterMap(const unsigned int index) const;

const ParameterMapVectorType &
[[deprecated("Instead of calling this member function, please call GetParameterMaps")]] const ParameterMapVectorType &
GetParameterMap() const
{
return m_ParameterMaps;
Expand Down

0 comments on commit ad52d39

Please sign in to comment.