SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_markup_TagIndividual_h
11 #define smtk_markup_TagIndividual_h
13 #include "smtk/markup/Resource.h"
15 #include "smtk/operation/XMLOperation.h"
17 #include "smtk/attribute/ComponentItem.h"
36 Result operateInternal()
override;
44 smtk::markup::OntologyIdentifier::Ptr findOrCreateTag(
46 const std::string& nodeName,
47 const std::string& ontologyName,
48 const std::string& nodeURL,
49 const smtk::attribute::ComponentItem::Ptr& created,
50 const smtk::attribute::ComponentItem::Ptr& modified,
51 bool& createdIdentifier);
58 const smtk::markup::OntologyIdentifier::Ptr& tag,
59 const smtk::attribute::ReferenceItem::Ptr& assocs,
60 const smtk::attribute::ComponentItem::Ptr& modified);
68 std::size_t untagNodes(
69 const smtk::markup::OntologyIdentifier::Ptr& tag,
70 const smtk::attribute::ReferenceItem::Ptr& assocs,
71 const smtk::attribute::ComponentItem::Ptr& modified,
72 const smtk::attribute::ComponentItem::Ptr& expunged);
74 const char* xmlDescription()
const override;
80 #endif // smtk_markup_TagIndividual_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A specialization of smtk::operation::Operation for operations whose specifications are defined by an ...
Definition: XMLOperation.h:23
A resource for annotating geometric models.
Definition: Resource.h:53
#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
Create an ontology node that tags the associated objects as individual instances of a class.
Definition: TagIndividual.h:26