SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_markup_Delete_h
11 #define smtk_markup_Delete_h
13 #include "smtk/graph/operators/Delete.h"
15 #include "smtk/markup/Component.h"
16 #include "smtk/markup/Resource.h"
18 #include "smtk/attribute/Attribute.h"
19 #include "smtk/attribute/ReferenceItem.h"
54 class SMTKMARKUP_EXPORT
Delete :
public smtk::graph::Delete
62 bool ableToOperate()
override;
70 bool suppressOutput()
const {
return m_suppressOutput; }
74 Delete::Result operateInternal()
override;
75 const char* xmlDescription()
const override;
78 bool m_suppressOutput{
false };
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
Delete components from a resource.
Definition: Delete.h:54
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:173
#define smtkSharedFromThisMacro(...)
A macro to help with derived classes whose bases enable shared_from_this().
Definition: SharedFromThis.h:250
Operation is a base class for all SMTK operations.
Definition: Operation.h:61
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
void setSuppressOutput(bool suppress)
Set/get whether log messages should be suppressed.
Definition: Delete.h:69