21 #ifndef __ANTARES_LIBS_STUDY_ACTION_SETTINGS_SUFFIXAREA_NAME_H__
22 #define __ANTARES_LIBS_STUDY_ACTION_SETTINGS_SUFFIXAREA_NAME_H__
24 #include <yuni/yuni.h>
25 #include "../action.h"
27 namespace Antares::Action::Settings
46 template<
class StringT>
47 explicit SuffixAreaName(
const StringT& value,
bool enabled =
true);
54 virtual bool shouldPrepareRootNode()
const;
56 virtual void behaviorToText(Behavior
behavior, Yuni::String& out);
70 #include "suffix-for-area-names.hxx"
AncestorType::Ptr Ptr
The most suitable smart ptr for the class.
Definition: action.h:41
Behavior behavior() const
Get the behavior.
Definition: action.hxx:36
AncestorType::ThreadingPolicy ThreadingPolicy
The threading policy.
Definition: action.h:43
A dummy action, for displaying some text.
Definition: suffix-for-area-names.h:33
virtual bool prepareWL(Context &ctx)
Prepare the execution.
Definition: suffix-for-area-names.cpp:32
virtual bool autoExpand() const
Auto-expand.
Definition: suffix-for-area-names.hxx:46
SuffixAreaName(const StringT &value, bool enabled=true)
Default constructor.
Definition: suffix-for-area-names.hxx:27
virtual bool performWL(Context &ctx)
Perform the action.
Definition: suffix-for-area-names.hxx:41
virtual void prepareSkipWL(Context &ctx)
Prepare the execution (when the behavior says that the action should be skipped)
Definition: suffix-for-area-names.cpp:26
virtual ~SuffixAreaName()
Destructor.
Definition: suffix-for-area-names.hxx:37