SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_view_ComponentPhraseModel_h
11 #define smtk_view_ComponentPhraseModel_h
13 #include "smtk/view/Configuration.h"
14 #include "smtk/view/DescriptivePhrase.h"
15 #include "smtk/view/PhraseModel.h"
39 typedef std::function<
62 bool setComponentFilters(
const std::multimap<std::string, std::string>& src);
72 void visitComponentFilters(std::function<
int(
const std::string&,
const std::string&)> fn)
const;
80 void setSortFunction(
const SortingCompFunc& comparator);
93 void processResource(
const Resource::Ptr& rsrc,
bool adding)
override;
94 virtual void populateRoot();
102 std::weak_ptr<smtk::resource::Resource>,
103 std::owner_less<std::weak_ptr<smtk::resource::Resource>>>
105 std::multimap<std::string, std::string> m_componentFilters;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A view Manager is responsible for creating new views (eventually) as well as view components such as ...
Definition: Manager.h:43
PhraseModelEvent
Events that can be observed on an smtk::view::PhraseModel.
Definition: PhraseModelObserver.h:26
Hold and maintain a descriptive phrase hierarchy.
Definition: PhraseModel.h:101
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
Configure a view, specifying types and attributes, without specifying a UI library.
Definition: Configuration.h:28
static bool compareByTypeThenTitle(const DescriptivePhrasePtr &a, const DescriptivePhrasePtr &b)
Phrase-type-based comparison method for DescriptivePhrases.
Definition: DescriptivePhrase.cxx:371
#define smtkSharedPtrCreateMacro(...)
A convenience macro for declaring shared_from_this and create methods.
Definition: SharedFromThis.h:267
#define smtkSuperclassMacro(...)
Add a typedef to the superclass of this class.
Definition: SharedFromThis.h:147
std::set< smtk::resource::PersistentObjectPtr > PersistentObjectSet
Definition: PublicPointerDefs.h:298
smtk::shared_ptr< smtk::view::DescriptivePhrase > DescriptivePhrasePtr
Definition: PublicPointerDefs.h:627
Present phrases describing a set of acceptable components held by a single resource.
Definition: ComponentPhraseModel.h:33
smtk::shared_ptr< smtk::resource::Component > ComponentPtr
Definition: PublicPointerDefs.h:304