Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
TimeRelation Class Reference

#include <TimeRelation.h>

Inheritance diagram for TimeRelation:
Inheritance graph
Collaboration diagram for TimeRelation:
Collaboration graph

Public Member Functions

 TimeRelation (const MscTimeIntervalSetD &set)
 measurement variable name More...
 
 TimeRelation (const std::string &set)
 
 TimeRelation (TimeRelation *original)
 
virtual ~TimeRelation ()
 
void assign_label (const std::string &label)
 
std::string get_label () const
 
bool is_directed () const
 
void set_directed (bool directed)
 
void clear_interval_set ()
 
const std::stringget_measurement () const
 
void set_measurement (std::string &measurement)
 
- Public Member Functions inherited from TimeConstraint
void clear_interval_set ()
 
const MscTimeIntervalSetDget_interval_set () const
 
MscTimeIntervalSetDget_interval_set ()
 
void set_interval_set (const MscTimeIntervalSetD &set)
 
Size get_width () const
 
void set_width (const Size &width)
 
- Public Member Functions inherited from MscElementTmpl< TimeConstraint >
int get_visual_style () const
 
void set_visual_style (int visual_style)
 
MscElementget_general_original () const
 See MscElementTmpl for details about attribute original. More...
 
void set_general_original (MscElement *original)
 See MscElementTmpl for details about attribute original. More...
 
TimeConstraintget_original () const
 
void set_original (TimeConstraint *e)
 
void set_original (boost::intrusive_ptr< TimeConstraint > &e)
 
virtual ~MscElementTmpl ()
 
- Public Member Functions inherited from MscElement
bool is_attribute_set (const std::string &name) const
 Finds out whether attribute with specified name is set or not. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def, bool &status)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
void set_attribute (const std::string &name, const T &val)
 Sets dynamic attribute of MscElement. More...
 
template<class T >
void remove_attribute (const std::string &name)
 Removes attribute of MscElement. More...
 
std::set< std::stringget_attribute_names () const
 List all attributes of MscElement. More...
 
enum MarkType get_marked () const
 
void set_marked (enum MarkType marked=MARKED)
 
MscColor get_color () const
 
void set_color (MscColor color)
 
void clear_color ()
 
virtual ~MscElement ()
 

Protected Attributes

bool m_directed
 
std::string m_measurement
 indicates directed constraint, see "origin" keyword More...
 
- Protected Attributes inherited from TimeConstraint
MscTimeIntervalSet< double > m_interval_set
 
Size m_width
 
- Protected Attributes inherited from MscElementTmpl< TimeConstraint >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr
< TimeConstraint
m_original
 Pointer to original version of MscElement. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TimeConstraint
 TimeConstraint ()
 length of the guide line More...
 
 TimeConstraint (const MscTimeIntervalSetD &set)
 
 TimeConstraint (TimeConstraint *original)
 
virtual ~TimeConstraint ()
 
- Protected Member Functions inherited from MscElementTmpl< TimeConstraint >
 MscElementTmpl ()
 
 MscElementTmpl (TimeConstraint *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 

Detailed Description

Definition at line 22 of file TimeRelation.h.

Constructor & Destructor Documentation

TimeRelation::TimeRelation ( const MscTimeIntervalSetD set)

measurement variable name

Definition at line 21 of file TimeRelation.cpp.

TimeRelation::TimeRelation ( const std::string set)

Definition at line 26 of file TimeRelation.cpp.

References assign_label().

TimeRelation::TimeRelation ( TimeRelation original)

Definition at line 33 of file TimeRelation.cpp.

References is_directed(), m_directed, and m_measurement.

TimeRelation::~TimeRelation ( )
virtual

Definition at line 43 of file TimeRelation.cpp.

Member Function Documentation

void TimeRelation::assign_label ( const std::string label)
void TimeRelation::clear_interval_set ( )
inline

Definition at line 47 of file TimeRelation.h.

std::string TimeRelation::get_label ( ) const
const std::string& TimeRelation::get_measurement ( ) const
inline

Definition at line 51 of file TimeRelation.h.

bool TimeRelation::is_directed ( ) const
inline

Definition at line 37 of file TimeRelation.h.

Referenced by TimeRelation().

void TimeRelation::set_directed ( bool  directed)
inline

Definition at line 42 of file TimeRelation.h.

void TimeRelation::set_measurement ( std::string measurement)
inline

Definition at line 56 of file TimeRelation.h.

Member Data Documentation

bool TimeRelation::m_directed
protected

Definition at line 25 of file TimeRelation.h.

Referenced by TimeRelation().

std::string TimeRelation::m_measurement
protected

indicates directed constraint, see "origin" keyword

Definition at line 26 of file TimeRelation.h.

Referenced by assign_label(), get_label(), and TimeRelation().


The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen