Flow123d  master-f44eb46
Public Member Functions | Public Attributes | List of all members
TimeMark::Type Struct Reference

#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_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Type() [1/2]

TimeMark::Type::Type ( )
inline

Definition at line 61 of file time_marks.hh.

Here is the caller graph for this function:

◆ Type() [2/2]

TimeMark::Type::Type ( unsigned long int  bitmap,
unsigned char  equation_index 
)
inline

Definition at line 62 of file time_marks.hh.

Member Function Documentation

◆ operator==()

bool TimeMark::Type::operator== ( const Type other) const
inline

Definition at line 84 of file time_marks.hh.

◆ operator|()

Type TimeMark::Type::operator| ( const Type other) const
inline

Definition at line 69 of file time_marks.hh.

◆ operator~()

Type TimeMark::Type::operator~ ( ) const
inline

Definition at line 80 of file time_marks.hh.

Member Data Documentation

◆ bitmap_

unsigned long int TimeMark::Type::bitmap_

Definition at line 88 of file time_marks.hh.

◆ equation_index_

unsigned char TimeMark::Type::equation_index_

Definition at line 89 of file time_marks.hh.


The documentation for this struct was generated from the following file: