/// \brief Update constraint's data
/// \return \c true if any value is updated
- virtual bool update(ConstraintWrapperPtr& theConstraint) = 0;
+ virtual bool update(ConstraintWrapperPtr theConstraint) = 0;
/// \brief Update entity's data
/// \return \c true if any value is updated
- virtual bool update(EntityWrapperPtr& theEntity) = 0;
+ virtual bool update(EntityWrapperPtr theEntity) = 0;
/// \brief Update parameter's data
/// \return \c true if the value of parameter is updated
- virtual bool update(ParameterWrapperPtr& theParameter) = 0;
+ virtual bool update(ParameterWrapperPtr theParameter) = 0;
/// \brief Remove constraint
/// \return \c true if the constraint and all its parameters are removed successfully
{
}
-bool SolveSpaceSolver_Storage::update(ConstraintWrapperPtr& theConstraint)
+bool SolveSpaceSolver_Storage::update(ConstraintWrapperPtr theConstraint)
{
bool isUpdated = false;
std::shared_ptr<SolveSpaceSolver_ConstraintWrapper> aConstraint =
return isUpdated;
}
-bool SolveSpaceSolver_Storage::update(EntityWrapperPtr& theEntity)
+bool SolveSpaceSolver_Storage::update(EntityWrapperPtr theEntity)
{
bool isUpdated = false;
std::shared_ptr<SolveSpaceSolver_EntityWrapper> anEntity =
return isUpdated;
}
-bool SolveSpaceSolver_Storage::update(ParameterWrapperPtr& theParameter)
+bool SolveSpaceSolver_Storage::update(ParameterWrapperPtr theParameter)
{
std::shared_ptr<SolveSpaceSolver_ParameterWrapper> aParameter =
std::dynamic_pointer_cast<SolveSpaceSolver_ParameterWrapper>(theParameter);
/// \brief Update constraint's data
/// \return \c true if any value is updated
- virtual bool update(ConstraintWrapperPtr& theConstraint);
+ virtual bool update(ConstraintWrapperPtr theConstraint);
/// \brief Update entity's data
/// \return \c true if any value is updated
- virtual bool update(EntityWrapperPtr& theEntity);
+ virtual bool update(EntityWrapperPtr theEntity);
/// \brief Update parameter's data
/// \return \c true if the value of parameter is updated
- virtual bool update(ParameterWrapperPtr& theParameter);
+ virtual bool update(ParameterWrapperPtr theParameter);
//// /// \brief Removes constraint from the storage
//// /// \return \c true if the constraint and all its parameters are remove successfully