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_ #define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:218
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
GutsRep & updRep() const
Definition: StudyGuts.h:94
This is the declaration for the Study::Guts class, the abstract object to which a Study handle points...
Definition: StudyGuts.h:69
const GutsRep & getRep() const
Definition: StudyGuts.h:93
bool hasRep() const
Definition: StudyGuts.h:92
SimTK::String is a plug-compatible std::string replacement (plus some additional functionality) inten...
Definition: String.h:62
Declares the user-visible part of a SimTK::State, the implementation is done in a separate internal c...
Guts(class GutsRep *r)
Definition: StudyGuts.h:91
This is the header which should be included in user programs that would like to make use of all the S...
Includes internal headers providing declarations for the basic SimTK Core classes.