KJB
|
#include <bbb_activity_sequence.h>
Public Types | |
typedef boost::variant < Physical_activity, Intentional_activity > | Activity |
typedef std::vector< Activity > ::const_iterator | const_iterator |
Public Member Functions | |
Activity_sequence (const std::string &role) | |
Create an empty activity sequence. More... | |
const std::string & | role () const |
Gets the role of this activity sequence. More... | |
const_iterator | begin () const |
Iterator to first activity. More... | |
const_iterator | end () const |
Iterator to one-past-the-last activity. More... | |
const Activity & | activity (size_t j) const |
Get the jth actiity. More... | |
size_t | size () const |
Get the jth actiity. More... | |
void | add (const Intentional_activity &activity) |
Add intentional activity. More... | |
void | add (const Physical_activity &activity) |
Add physical activity. More... | |
Class represents a sequence of activities.
typedef boost::variant<Physical_activity, Intentional_activity> kjb::bbb::Activity_sequence::Activity |
typedef std::vector<Activity>::const_iterator kjb::bbb::Activity_sequence::const_iterator |
|
inline |
Create an empty activity sequence.
|
inline |
Get the jth actiity.
|
inline |
Add intentional activity.
|
inline |
Add physical activity.
|
inline |
Iterator to first activity.
|
inline |
Iterator to one-past-the-last activity.
|
inline |
Gets the role of this activity sequence.
|
inline |
Get the jth actiity.