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