SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_view_ObjectGroupPhraseContent_h
11 #define smtk_view_ObjectGroupPhraseContent_h
13 #include "smtk/view/PhraseContent.h"
15 #include "smtk/resource/Component.h"
38 const std::string& title,
39 const std::string& resourceFilter,
40 const std::string& componentFilter);
44 const std::string& title,
45 const std::string& resourceFilter,
46 const std::string& componentFilter,
49 const std::string& resourceFilter()
const {
return m_resourceFilter; }
50 const std::string& componentFilter()
const {
return m_componentFilter; }
56 bool hasChildren()
const;
76 ObjectGroupPhraseContent();
78 std::string m_resourceFilter;
79 std::string m_componentFilter;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
std::string stringValue(ContentType) const override
Return a string that reflects the given attr value.
Definition: ObjectGroupPhraseContent.h:61
An abstract base class for obtaining descriptive phrase information.
Definition: PhraseContent.h:38
smtk::resource::PersistentObjectPtr relatedObject() const override
Return the persistent object related to this phrase (or nullptr if not well defined).
Definition: ObjectGroupPhraseContent.h:63
bool displayable(ContentType attr) const override
Should attr be present in the visual display of the phrase?
Definition: ObjectGroupPhraseContent.h:58
std::vector< smtk::view::DescriptivePhrasePtr > DescriptivePhrases
Definition: PublicPointerDefs.h:631
smtk::resource::ResourcePtr relatedResource() const override
Return the resource related to this phrase (or nullptr if not well defined).
Definition: ObjectGroupPhraseContent.h:64
bool editable(ContentType) const override
Is attr editable or fixed (for information/display only)?
Definition: ObjectGroupPhraseContent.h:59
ContentType
Accepted types of content.
Definition: PhraseContent.h:45
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
Group a set of persistent objects for user presentation.
Definition: ObjectGroupPhraseContent.h:32
#define smtkSharedPtrCreateMacro(...)
A convenience macro for declaring shared_from_this and create methods.
Definition: SharedFromThis.h:267
smtk::shared_ptr< smtk::view::DescriptivePhrase > DescriptivePhrasePtr
Definition: PublicPointerDefs.h:627
smtk::shared_ptr< smtk::resource::PersistentObject > PersistentObjectPtr
Definition: PublicPointerDefs.h:292
smtk::shared_ptr< smtk::resource::Component > ComponentPtr
Definition: PublicPointerDefs.h:304
smtk::shared_ptr< smtk::resource::Resource > ResourcePtr
Definition: PublicPointerDefs.h:302
smtk::resource::ComponentPtr relatedComponent() const override
Return the resource component related to this phrase (or nullptr if not well defined).
Definition: ObjectGroupPhraseContent.h:65