21 #ifndef __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_LINK_CREATE_H__
22 #define __ANTARES_LIBS_STUDY_ACTION_HANDLER_ANTARES_LINK_CREATE_H__
24 #include <yuni/yuni.h>
25 #include <action/action.h>
27 namespace Antares::Action::AntaresStudy::Link
43 Create(
const Data::AreaName& fromarea,
const Data::AreaName& toarea);
45 Create(
const Data::AreaName& fromarea,
46 const Data::AreaName& targetfromarea,
47 const Data::AreaName& toarea,
48 const Data::AreaName& targettoarea);
54 virtual bool allowUpdate()
const;
67 Data::AreaName pOriginalFromAreaName;
68 Data::AreaName pTargetFromAreaName;
70 Data::AreaName pOriginalToAreaName;
71 Data::AreaName pTargetToAreaName;
virtual ~Create()
Destructor.
Definition: create.cpp:56
Create(const Data::AreaName &fromarea, const Data::AreaName &toarea)
Default constructor.
Definition: create.cpp:37
virtual bool prepareWL(Context &ctx)
Prepare the execution.
Definition: create.cpp:60
virtual bool performWL(Context &ctx)
Perform the action.
Definition: create.cpp:135
void createActionsForAStandardLinkCopy(Context &ctx)
Create all standard actions for copy/pasting an area.
Definition: create.cpp:198
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