Go to the documentation of this file. 1 #ifndef SimTK_SimTKCOMMON_STUDY_GUTS_H_
2 #define SimTK_SimTKCOMMON_STUDY_GUTS_H_
78 const String& version=
"0.0.0");
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_
void setOwnerHandle(Study &)
const String & getVersion() const
This is the declaration for the Study::Guts class, the abstract object to which a Study handle points...
Definition: StudyGuts.h:69
Study::Guts * clone() const
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
bool hasOwnerHandle() const
Guts(const String &name="<UNNAMED STUDY>", const String &version="0.0.0")
const Study & getStudy() const
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
virtual Study::Guts * cloneImpl() const =0
const String & getName() const
const GutsRep & getRep() const
Definition: StudyGuts.h:93
GutsRep & updRep() const
Definition: StudyGuts.h:94