21 #ifndef __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_WEIGHTS_H__
22 #define __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_WEIGHTS_H__
24 #include <yuni/yuni.h>
25 #include <action/action.h>
27 namespace Antares::Action::AntaresStudy::Constraint
43 Weights(
const AnyString& name, Antares::Data::ConstraintName targetName =
"");
52 void translate(Antares::Data::AreaName& out,
const Antares::Data::AreaName& original);
54 void toLower(Antares::Data::AreaName& out,
const Antares::Data::AreaName& original);
58 Antares::Data::ConstraintName pOriginalConstraintName;
59 Antares::Data::ConstraintName targetName;
virtual ~Weights()
Destructor.
Definition: weights.cpp:37
Weights(const AnyString &name, Antares::Data::ConstraintName targetName="")
Default constructor.
Definition: weights.cpp:29
IAction::Ptr Ptr
The most suitable smart ptr for the class.
Definition: weights.h:33
virtual bool performWL(Context &ctx)
Perform the action.
Definition: weights.cpp:85
virtual bool prepareWL(Context &ctx)
Prepare the execution.
Definition: weights.cpp:41
IAction::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition: weights.h:35
AncestorType::Ptr Ptr
The most suitable smart ptr for the class.
Definition: action.h:41
AncestorType::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition: action.h:43