Flow123d
DF_patch_fe_data_tables-3df4116
|
#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 60 of file time_marks.hh.
|
inline |
|
inline |
Definition at line 62 of file time_marks.hh.
|
inline |
Definition at line 84 of file time_marks.hh.
Definition at line 69 of file time_marks.hh.
|
inline |
Definition at line 80 of file time_marks.hh.
unsigned long int TimeMark::Type::bitmap_ |
Definition at line 88 of file time_marks.hh.
unsigned char TimeMark::Type::equation_index_ |
Definition at line 89 of file time_marks.hh.