Go to the documentation of this file. 1 #ifndef SimTK_SimTKCOMMON_STUDY_GUTS_H_
2 #define SimTK_SimTKCOMMON_STUDY_GUTS_H_
77 explicit Guts(
const String& name=
"<UNNAMED STUDY>",
78 const String& version=
"0.0.0");
81 const String& getName()
const;
82 const String& getVersion()
const;
85 const Study& getStudy()
const;
88 void setOwnerHandle(
Study&);
89 bool hasOwnerHandle()
const;
91 explicit Guts(
class GutsRep* r) : rep(r) { }
93 const GutsRep&
getRep()
const {assert(rep);
return *rep;}
94 GutsRep&
updRep()
const {assert(rep);
return *rep;}
112 #endif // SimTK_SimTKCOMMON_STUDY_GUTS_H_
This is the declaration for the Study::Guts class, the abstract object to which a Study handle points...
Definition: StudyGuts.h:69
Guts(class GutsRep *r)
Definition: StudyGuts.h:91
This is a System that represents the dynamics of a particle moving along a smooth surface.
Definition: Assembler.h:37
#define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:224
SimTK::String is a plug-compatible std::string replacement (plus some additional functionality) inten...
Definition: String.h:62
bool hasRep() const
Definition: StudyGuts.h:92
const GutsRep & getRep() const
Definition: StudyGuts.h:93
GutsRep & updRep() const
Definition: StudyGuts.h:94