Commit 3e24a66b authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1385 Make more generic the documentations about copy/move...

#1385 Make more generic the documentations about copy/move constructor/affectation operator, and starts fixing Geometry missing comments.
parent 866665c5
......@@ -64,17 +64,17 @@ namespace MoReFEM
//! Destructor.
~NumberingSubsetForMatrix() = default;
//! Copy constructor.
NumberingSubsetForMatrix(const NumberingSubsetForMatrix&);
//! \copydoc doxygen_hide_copy_constructor
NumberingSubsetForMatrix(const NumberingSubsetForMatrix& rhs);
//! Move constructor.
NumberingSubsetForMatrix(NumberingSubsetForMatrix&&) = default;
//! \copydoc doxygen_hide_move_constructor
NumberingSubsetForMatrix(NumberingSubsetForMatrix&& rhs) = default;
//! \copydoc doxygen_hide_copy_affectation
NumberingSubsetForMatrix& operator=(const NumberingSubsetForMatrix&) = default;
NumberingSubsetForMatrix& operator=(const NumberingSubsetForMatrix& rhs) = default;
//! \copydoc doxygen_hide_move_affectation
NumberingSubsetForMatrix& operator=(NumberingSubsetForMatrix&&) = default;
NumberingSubsetForMatrix& operator=(NumberingSubsetForMatrix&& rhs) = default;
///@}
......
......@@ -122,17 +122,17 @@ namespace MoReFEM
//! Destructor.
~EnsightCaseReader() = default;
//! Copy constructor.
EnsightCaseReader(const EnsightCaseReader&) = delete;
//! \copydoc doxygen_hide_copy_constructor
EnsightCaseReader(const EnsightCaseReader& rhs) = delete;
//! Move constructor.
EnsightCaseReader(EnsightCaseReader&&) = delete;
//! \copydoc doxygen_hide_move_constructor
EnsightCaseReader(EnsightCaseReader&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
EnsightCaseReader& operator=(const EnsightCaseReader&) = delete;
EnsightCaseReader& operator=(const EnsightCaseReader& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
EnsightCaseReader& operator=(EnsightCaseReader&&) = delete;
EnsightCaseReader& operator=(EnsightCaseReader&& rhs) = delete;
///@}
......
......@@ -72,17 +72,17 @@ namespace MoReFEM
//! Destructor
~InputData() = default;
//! Copy constructor.
InputData(const InputData&) = delete;
//! \copydoc doxygen_hide_copy_constructor
InputData(const InputData& rhs) = delete;
//! Move constructor.
InputData(InputData&&) = delete;
//! \copydoc doxygen_hide_move_constructor
InputData(InputData&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
InputData& operator=(const InputData&) = delete;
InputData& operator=(const InputData& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
InputData& operator=(InputData&&) = delete;
InputData& operator=(InputData&& rhs) = delete;
//@}
......
......@@ -57,17 +57,17 @@ namespace MoReFEM
//! Destructor.
~GlobalDiagonalMatrix() override;
//! Copy constructor.
GlobalDiagonalMatrix(const GlobalDiagonalMatrix&) = delete;
//! \copydoc doxygen_hide_copy_constructor
GlobalDiagonalMatrix(const GlobalDiagonalMatrix& rhs) = delete;
//! Move constructor.
GlobalDiagonalMatrix(GlobalDiagonalMatrix&&) = delete;
//! \copydoc doxygen_hide_move_constructor
GlobalDiagonalMatrix(GlobalDiagonalMatrix&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
GlobalDiagonalMatrix& operator=(const GlobalDiagonalMatrix&) = delete;
GlobalDiagonalMatrix& operator=(const GlobalDiagonalMatrix& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
GlobalDiagonalMatrix& operator=(GlobalDiagonalMatrix&&) = delete;
GlobalDiagonalMatrix& operator=(GlobalDiagonalMatrix&& rhs) = delete;
///@}
......
......@@ -84,17 +84,17 @@ namespace MoReFEM
//! Destructor.
~GlobalMatrix() override;
//! Copy constructor.
GlobalMatrix(const GlobalMatrix&);
//! \copydoc doxygen_hide_copy_constructor
GlobalMatrix(const GlobalMatrix& rhs);
//! Move constructor.
GlobalMatrix(GlobalMatrix&&) = delete;
//! \copydoc doxygen_hide_move_constructor
GlobalMatrix(GlobalMatrix&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
GlobalMatrix& operator=(const GlobalMatrix&) = delete;
GlobalMatrix& operator=(const GlobalMatrix& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
GlobalMatrix& operator=(GlobalMatrix&&) = delete;
GlobalMatrix& operator=(GlobalMatrix&& rhs) = delete;
///@}
......
......@@ -76,17 +76,17 @@ namespace MoReFEM
//! Destructor.
~GlobalVector() override;
//! Copy constructor.
GlobalVector(const GlobalVector&);
//! \copydoc doxygen_hide_copy_constructor
GlobalVector(const GlobalVector& rhs);
//! Move constructor.
GlobalVector(GlobalVector&&) = delete;
//! \copydoc doxygen_hide_move_constructor
GlobalVector(GlobalVector&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
GlobalVector& operator=(const GlobalVector&) = delete;
GlobalVector& operator=(const GlobalVector& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
GlobalVector& operator=(GlobalVector&&) = delete;
GlobalVector& operator=(GlobalVector&& rhs) = delete;
///@}
......
......@@ -93,17 +93,17 @@ namespace MoReFEM
//! Destructor.
~MoReFEMData();
//! Copy constructor.
MoReFEMData(const MoReFEMData&) = delete;
//! \copydoc doxygen_hide_copy_constructor
MoReFEMData(const MoReFEMData& rhs) = delete;
//! Move constructor.
MoReFEMData(MoReFEMData&&) = delete;
//! \copydoc doxygen_hide_move_constructor
MoReFEMData(MoReFEMData&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
MoReFEMData& operator=(const MoReFEMData&) = delete;
MoReFEMData& operator=(const MoReFEMData& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
MoReFEMData& operator=(MoReFEMData&&) = delete;
MoReFEMData& operator=(MoReFEMData&& rhs) = delete;
///@}
......
......@@ -59,17 +59,17 @@ namespace MoReFEM
//! Destructor.
~FindIfCondition() = default;
//! Copy constructor.
FindIfCondition(const FindIfCondition&) = default; // required by gcc; clang makes do with only move one.
//! \copydoc doxygen_hide_copy_constructor
FindIfCondition(const FindIfCondition& rhs) = default; // required by gcc; clang makes do with only move one.
//! Move constructor.
FindIfCondition(FindIfCondition&&) = default;
//! \copydoc doxygen_hide_move_constructor
FindIfCondition(FindIfCondition&& rhs) = default;
//! \copydoc doxygen_hide_copy_affectation
FindIfCondition& operator=(const FindIfCondition&) = delete;
FindIfCondition& operator=(const FindIfCondition& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
FindIfCondition& operator=(FindIfCondition&&) = delete;
FindIfCondition& operator=(FindIfCondition&& rhs) = delete;
//! Prototype to compare objects shielded by unique_ptr.
//! \param[in] item The (unary) element which will be compared to the stored \a numbering_subset_.
......@@ -118,17 +118,17 @@ namespace MoReFEM
//! Destructor.
~FindIfConditionForPair() = default;
//! Copy constructor.
FindIfConditionForPair(const FindIfConditionForPair&) = default; // required by gcc; clang makes do with only move one.
//! \copydoc doxygen_hide_copy_constructor
FindIfConditionForPair(const FindIfConditionForPair& rhs) = default; // required by gcc; clang makes do with only move one.
//! Move constructor.
FindIfConditionForPair(FindIfConditionForPair&&) = default;
//! \copydoc doxygen_hide_move_constructor
FindIfConditionForPair(FindIfConditionForPair&& rhs) = default;
//! \copydoc doxygen_hide_copy_affectation
FindIfConditionForPair& operator=(const FindIfConditionForPair&) = delete;
FindIfConditionForPair& operator=(const FindIfConditionForPair& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
FindIfConditionForPair& operator=(FindIfConditionForPair&&) = delete;
FindIfConditionForPair& operator=(FindIfConditionForPair&& rhs) = delete;
//! Prototype to compare objects shielded by unique_ptr.
//! \param[in] item The (unary) element which will be compared to the stored numbering_subsets.
......
......@@ -111,17 +111,17 @@ namespace MoReFEM
//! Destructor.
~NumberingSubset() = default;
//! Copy constructor.
NumberingSubset(const NumberingSubset&) = delete;
//! \copydoc doxygen_hide_copy_constructor
NumberingSubset(const NumberingSubset& rhs) = delete;
//! Move constructor.
NumberingSubset(NumberingSubset&&) = delete;
//! \copydoc doxygen_hide_move_constructor
NumberingSubset(NumberingSubset&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
NumberingSubset& operator=(const NumberingSubset&) = delete;
NumberingSubset& operator=(const NumberingSubset& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
NumberingSubset& operator=(NumberingSubset&&) = delete;
NumberingSubset& operator=(NumberingSubset&& rhs) = delete;
///@}
......
......@@ -59,17 +59,17 @@ namespace MoReFEM
//! Destructor.
~ConstantTimeStep() = default;
//! Copy constructor.
ConstantTimeStep(const ConstantTimeStep&) = delete;
//! \copydoc doxygen_hide_copy_constructor
ConstantTimeStep(const ConstantTimeStep& rhs) = delete;
//! Move constructor.
ConstantTimeStep(ConstantTimeStep&&) = delete;
//! \copydoc doxygen_hide_move_constructor
ConstantTimeStep(ConstantTimeStep&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
ConstantTimeStep& operator=(const ConstantTimeStep&) = delete;
ConstantTimeStep& operator=(const ConstantTimeStep& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
ConstantTimeStep& operator=(ConstantTimeStep&&) = delete;
ConstantTimeStep& operator=(ConstantTimeStep&& rhs) = delete;
///@}
......
......@@ -58,17 +58,17 @@ namespace MoReFEM
//! Destructor.
~VariableTimeStep() = default;
//! Copy constructor.
VariableTimeStep(const VariableTimeStep&) = delete;
//! \copydoc doxygen_hide_copy_constructor
VariableTimeStep(const VariableTimeStep& rhs) = delete;
//! Move constructor.
VariableTimeStep(VariableTimeStep&&) = delete;
//! \copydoc doxygen_hide_move_constructor
VariableTimeStep(VariableTimeStep&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
VariableTimeStep& operator=(const VariableTimeStep&) = delete;
VariableTimeStep& operator=(const VariableTimeStep& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
VariableTimeStep& operator=(VariableTimeStep&&) = delete;
VariableTimeStep& operator=(VariableTimeStep&& rhs) = delete;
///@}
......
......@@ -76,17 +76,17 @@ namespace MoReFEM
//! Destructor.
virtual ~TimeManager();
//! Copy constructor.
TimeManager(const self&) = delete;
//! \copydoc doxygen_hide_copy_constructor
TimeManager(const self& rhs) = delete;
//! Move constructor.
TimeManager(self&&) = delete;
//! \copydoc doxygen_hide_move_constructor
TimeManager(self&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
self& operator=(const self&) = delete;
self& operator=(const self& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
self& operator=(self&&) = delete;
self& operator=(self&& rhs) = delete;
///@}
......
......@@ -57,17 +57,17 @@ namespace MoReFEM
//! Destructor.
~TimeManagerInstance() override = default;
//! Copy constructor.
TimeManagerInstance(const self&) = delete;
//! \copydoc doxygen_hide_copy_constructor
TimeManagerInstance(const self& rhs) = delete;
//! Move constructor.
TimeManagerInstance(self&&) = delete;
//! \copydoc doxygen_hide_move_constructor
TimeManagerInstance(self&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
self& operator=(const self&) = delete;
self& operator=(const self& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
self& operator=(self&&) = delete;
self& operator=(self&& rhs) = delete;
///@}
......
......@@ -130,17 +130,17 @@ namespace MoReFEM
//! Destructor.
~DirichletBoundaryCondition() = default;
//! Copy constructor.
DirichletBoundaryCondition(const DirichletBoundaryCondition&) = delete;
//! \copydoc doxygen_hide_copy_constructor
DirichletBoundaryCondition(const DirichletBoundaryCondition& rhs) = delete;
//! Move constructor.
DirichletBoundaryCondition(DirichletBoundaryCondition&&) = delete;
//! \copydoc doxygen_hide_move_constructor
DirichletBoundaryCondition(DirichletBoundaryCondition&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
DirichletBoundaryCondition& operator=(const DirichletBoundaryCondition&) = delete;
DirichletBoundaryCondition& operator=(const DirichletBoundaryCondition& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
DirichletBoundaryCondition& operator=(DirichletBoundaryCondition&&) = delete;
DirichletBoundaryCondition& operator=(DirichletBoundaryCondition&& rhs) = delete;
///@}
......
......@@ -64,17 +64,17 @@ namespace MoReFEM
//! Destructor.
virtual ~DirichletBoundaryConditionManager() override;
//! Copy constructor.
DirichletBoundaryConditionManager(const DirichletBoundaryConditionManager&) = delete;
//! \copydoc doxygen_hide_copy_constructor
DirichletBoundaryConditionManager(const DirichletBoundaryConditionManager& rhs) = delete;
//! Move constructor.
DirichletBoundaryConditionManager(DirichletBoundaryConditionManager&&) = default;
//! \copydoc doxygen_hide_move_constructor
DirichletBoundaryConditionManager(DirichletBoundaryConditionManager&& rhs) = default;
//! Affectation.
DirichletBoundaryConditionManager& operator=(const DirichletBoundaryConditionManager&) = delete;
DirichletBoundaryConditionManager& operator=(const DirichletBoundaryConditionManager& rhs) = delete;
//! Affectation.
DirichletBoundaryConditionManager& operator=(DirichletBoundaryConditionManager&&) = delete;
DirichletBoundaryConditionManager& operator=(DirichletBoundaryConditionManager&& rhs) = delete;
///@}
......
......@@ -55,17 +55,17 @@ namespace MoReFEM
//! Destructor
~ComponentManager() = default;
//! Copy constructor.
ComponentManager(const ComponentManager&) = delete;
//! \copydoc doxygen_hide_copy_constructor
ComponentManager(const ComponentManager& rhs) = delete;
//! Move constructor.
ComponentManager(ComponentManager&&) = delete;
//! \copydoc doxygen_hide_move_constructor
ComponentManager(ComponentManager&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
ComponentManager& operator=(const ComponentManager&) = delete;
ComponentManager& operator=(const ComponentManager& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
ComponentManager& operator=(ComponentManager&&) = delete;
ComponentManager& operator=(ComponentManager&& rhs) = delete;
//! Returns the name of the component.
......
......@@ -48,17 +48,17 @@ namespace MoReFEM
//! Destructor
~TComponentManager() = default;
//! Copy constructor.
TComponentManager(const TComponentManager&) = delete;
//! \copydoc doxygen_hide_copy_constructor
TComponentManager(const TComponentManager& rhs) = delete;
//! Move constructor.
TComponentManager(TComponentManager&&) = delete;
//! \copydoc doxygen_hide_move_constructor
TComponentManager(TComponentManager&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
TComponentManager& operator=(const TComponentManager&) = delete;
TComponentManager& operator=(const TComponentManager& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
TComponentManager& operator=(TComponentManager&&) = delete;
TComponentManager& operator=(TComponentManager&& rhs) = delete;
};
......
......@@ -95,17 +95,17 @@ namespace MoReFEM
//! Destructor.
~DofStorage() = default;
//! Copy constructor.
DofStorage(const DofStorage&) = delete;
//! \copydoc doxygen_hide_copy_constructor
DofStorage(const DofStorage& rhs) = delete;
//! Move constructor.
DofStorage(DofStorage&&) = default;
//! \copydoc doxygen_hide_move_constructor
DofStorage(DofStorage&& rhs) = default;
//! \copydoc doxygen_hide_copy_affectation
DofStorage& operator=(const DofStorage&) = delete;
DofStorage& operator=(const DofStorage& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
DofStorage& operator=(DofStorage&&) = delete;
DofStorage& operator=(DofStorage&& rhs) = delete;
///@}
......
......@@ -109,17 +109,17 @@ namespace MoReFEM
//! Destructor.
~FElt() = default;
//! Copy constructor.
FElt(const FElt&) = delete;
//! \copydoc doxygen_hide_copy_constructor
FElt(const FElt& rhs) = delete;
//! Move constructor.
FElt(FElt&&) = delete;
//! \copydoc doxygen_hide_move_constructor
FElt(FElt&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
FElt& operator=(const FElt&) = delete;
FElt& operator=(const FElt& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
FElt& operator=(FElt&&) = delete;
FElt& operator=(FElt&& rhs) = delete;
///@}
......
......@@ -102,17 +102,17 @@ namespace MoReFEM
//! Destructor.
~Local2GlobalStorage() = default;
//! Copy constructor.
Local2GlobalStorage(const Local2GlobalStorage&) = delete;
//! \copydoc doxygen_hide_copy_constructor
Local2GlobalStorage(const Local2GlobalStorage& rhs) = delete;
//! Move constructor.
Local2GlobalStorage(Local2GlobalStorage&&) = delete;
//! \copydoc doxygen_hide_move_constructor
Local2GlobalStorage(Local2GlobalStorage&& rhs) = delete;
//! \copydoc doxygen_hide_copy_affectation
Local2GlobalStorage& operator=(const Local2GlobalStorage&) = delete;
Local2GlobalStorage& operator=(const Local2GlobalStorage& rhs) = delete;
//! \copydoc doxygen_hide_move_affectation
Local2GlobalStorage& operator=(Local2GlobalStorage&&) = delete;
Local2GlobalStorage& operator=(Local2GlobalStorage&& rhs) = delete;
///@}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment