Medial Code Documentation
Loading...
Searching...
No Matches
MedEnums.h
Go to the documentation of this file.
1
3#ifndef __MED_ENUM_H__
4#define __MED_ENUM_H__
5#include <vector>
6#include <string>
7
8using namespace std;
9
12enum class ConflictMode {
13 All = 0,
14 Drop = 1,
15 Max = 2,
16 Last = 3,
17 Bitwise_Max = 4
18};
19
20extern vector<string> ConflictMode_to_name;
21ConflictMode ConflictMode_name_to_type(const string& ConflictMode_name);
22
25enum class TimeWindowMode {
26 Before_End = 0,
27 Before_Start = 1,
28 After_Start = 2,
29 Within = 3,
30 All_ = 4
31 //no None, after_end - useless for now
32};
33extern vector<string> TimeWindow_to_name;
34TimeWindowMode TimeWindow_name_to_type(const string& TimeWindow_name);
35
36#endif
TimeWindowMode
Definition MedEnums.h:25
@ Within
"within" - need to be within start_time and end_time - contained fully time window.
@ All_
"all" - takes all not testing for anything
@ After_Start
"after_start" - need to be after start_time of registry
@ Before_Start
"before_start" - need to be before start_time of registry
@ Before_End
"before_end" - need to be before end_time of registry
ConflictMode
Definition MedEnums.h:12
@ Bitwise_Max
"bitwise_max" - max on each multilabel entry
@ Drop
"drop" - drop when conflcit
@ Max
"max" - take max on conflict
@ All
"all" - take all
@ Last
"last" - take last value
Definition StdDeque.h:58