21#ifndef __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_CREATE_H__
22#define __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_CONSTRAINT_CREATE_H__
25#include <action/action.h>
49 template<
class StringT>
50 explicit Create(
const StringT& areaname,
52 Data::BindingConstraint::Operator o);
56 template<
class StringT1,
class StringT2>
57 Create(
const StringT1& areaname,
58 const StringT2& targetname,
60 Data::BindingConstraint::Operator o);
71 virtual bool allowUpdate()
const;
80 Antares::Data::ConstraintName pOriginalConstraintName;
81 Antares::Data::ConstraintName pTargetConstraintName;
82 Antares::Data::ConstraintName pFuturConstraintName;
84 Antares::Data::BindingConstraint::Operator pOperator;
Definition antares-study.h:28
IAction::Ptr Ptr
The most suitable smart ptr for the class.
Definition create.h:39
virtual void prepareSkipWL(Context &ctx)
Prepare the execution (when the behavior says that the action should be skipped)
Definition create.cpp:43
IAction::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition create.h:41
virtual bool performWL(Context &ctx)
Perform the action.
Definition create.cpp:166
virtual ~Create()
Destructor.
Definition create.hxx:51
virtual bool prepareWL(Context &ctx)
Prepare the execution.
Definition create.cpp:55
void createActionsForAStandardConstraintCopy(Context &ctx)
Create all standard actions for copy/pasting an area.
Definition create.cpp:206
Create(const StringT &areaname, Data::BindingConstraint::Type t, Data::BindingConstraint::Operator o)
Default constructor.
Definition create.hxx:33
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
Type
Definition BindingConstraint.h:55