#include <Study.h>
TODO!
There are two distinct users of this class:
Only methods intended for Study Users and a few bookkeeping methods are in the main Study class, which is a SimTK Handle class, meaning that it consists only of a single pointer, which points to a Study::Guts class. The Guts class is abstract, and virtual methods to be implemented by Study Developers in the concrete Study are defined there, along with other utilities of use to the concrete Study Developer but not to the end user. The Guts class is declared in a separate header file, and only people who are writing their own Study classes need look there.
Public Member Functions | |
Study () | |
Study (const Study &) | |
Study & | operator= (const Study &) |
~Study () | |
Study (const System &sys) | |
const String & | getName () const |
const String & | getVersion () const |
const System & | getSystem () const |
const State & | getState () const |
State & | updState () |
bool | isOwnerHandle () const |
Is this handle the owner of this rep? This is true if the handle is empty or if its rep points back here. | |
bool | isEmptyHandle () const |
bool | isSameStudy (const Study &otherStudy) const |
const Study::Guts & | getStudyGuts () const |
Study::Guts & | updStudyGuts () |
void | adoptStudyGuts (Study::Guts *g) |
Study (Study::Guts *g) | |
bool | hasGuts () const |
Friends | |
class | Guts |
Classes | |
class | Guts |
This is the declaration for the Study::Guts class, the abstract object to which a Study handle points. More... |
Study | ( | ) | [inline] |
~Study | ( | ) |
Study | ( | const System & | sys | ) | [explicit] |
Study | ( | Study::Guts * | g | ) | [inline, explicit] |
const String& getName | ( | ) | const |
const String& getVersion | ( | ) | const |
const System& getSystem | ( | ) | const |
const State& getState | ( | ) | const |
State& updState | ( | ) |
bool isOwnerHandle | ( | ) | const |
Is this handle the owner of this rep? This is true if the handle is empty or if its rep points back here.
bool isEmptyHandle | ( | ) | const |
bool isSameStudy | ( | const Study & | otherStudy | ) | const |
const Study::Guts& getStudyGuts | ( | ) | const [inline] |
Study::Guts& updStudyGuts | ( | ) | [inline] |
void adoptStudyGuts | ( | Study::Guts * | g | ) |
bool hasGuts | ( | ) | const [inline] |
friend class Guts [friend] |