SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_SessionRef_h
11 #define smtk_model_SessionRef_h
14 #include "smtk/model/EntityRefArrangementOps.h"
15 #include "smtk/model/Model.h"
40 std::string tag()
const;
41 std::string site()
const;
43 StringData fileTypes(
const std::string& engine = std::string())
const;
44 std::string defaultFileExtension(
const Model& model =
Model())
const;
52 return this->relationsAs<T>();
57 #endif // smtk_model_SessionRef_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
A entityref subclass that provides methods specific to models.
Definition: Model.h:30
std::vector< String > StringList
Use vectors of String objects for holding string properties on model entities.
Definition: StringData.h:32
smtk::shared_ptr< smtk::model::Session > SessionPtr
Definition: PublicPointerDefs.h:398
T models() const
Return the list of models associated with this session.
Definition: SessionRef.h:50
A entityref subclass that provides methods specific to entity use records.
Definition: SessionRef.h:28
std::map< std::string, StringList > StringData
A dictionary of property names mapped to their values (string vectors)
Definition: StringData.h:34
smtk::shared_ptr< smtk::model::Resource > ResourcePtr
Definition: PublicPointerDefs.h:426
std::vector< smtk::model::SessionRef > SessionRefs
Definition: PublicPointerDefs.h:149
#define SMTK_ENTITYREF_CLASS(thisclass, superclass, typecheck)
A macro to implement mandatory EntityRef-subclass constructors.
Definition: EntityRef.h:43
A lightweight entityref pointing to a model entity's resource.
Definition: EntityRef.h:112