Flow123d
last_with_con_2.0.0-663-gd0e2296
|
#include <time_marks.hh>
Public Member Functions | |
Type () | |
Type (unsigned long int bitmap, unsigned char equation_index) | |
Type | operator| (const Type &other) const |
Type | operator~ () const |
bool | operator== (const Type &other) const |
Public Attributes | |
unsigned long int | bitmap_ |
unsigned char | equation_index_ |
MarkType is a bitmap where each bit represents one base type such as (Output, Input, BC change, Fixed...) This allow more complex queries through bitwise operations. Also one TimeMark can be shared by more events. In the context of TimeMarks the Type can be either fixed or vague. If a TimeGovernor is connected to the TimeMarks object the TimeMarks with fixed Type are used to match exactly their times. Base Types should be created/obtained from TimeMarks class through the TimeMarks::new_mark_type method. There are three Types predefined in TimeMarks constructor:
Definition at line 51 of file time_marks.hh.
|
inline |
|
inline |
Definition at line 53 of file time_marks.hh.
|
inline |
Definition at line 75 of file time_marks.hh.
Definition at line 60 of file time_marks.hh.
|
inline |
Definition at line 71 of file time_marks.hh.
unsigned long int TimeMark::Type::bitmap_ |
Definition at line 79 of file time_marks.hh.
unsigned char TimeMark::Type::equation_index_ |
Definition at line 80 of file time_marks.hh.