21#ifndef __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_WEIGHTS_H__
22#define __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_WEIGHTS_H__
25#include <action/action.h>
49 Weights(
const AnyString& name, Antares::Data::ConstraintName targetName =
"");
58 void translate(Antares::Data::AreaName& out,
const Antares::Data::AreaName& original);
60 void toLower(Antares::Data::AreaName& out,
const Antares::Data::AreaName& original);
64 Antares::Data::ConstraintName pOriginalConstraintName;
65 Antares::Data::ConstraintName targetName;
Definition antares-study.h:28
virtual ~Weights()
Destructor.
Definition weights.cpp:41
Weights(const AnyString &name, Antares::Data::ConstraintName targetName="")
Default constructor.
Definition weights.cpp:35
IAction::Ptr Ptr
The most suitable smart ptr for the class.
Definition weights.h:39
virtual bool performWL(Context &ctx)
Perform the action.
Definition weights.cpp:87
virtual bool prepareWL(Context &ctx)
Prepare the execution.
Definition weights.cpp:45
IAction::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition weights.h:41
AncestorType::Ptr Ptr
The most suitable smart ptr for the class.
Definition action.h:43
AncestorType::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition action.h:45