BmnRoot
Loading...
Searching...
No Matches
EventCondition Class Reference

Class for describing a condition to search for necessary event metadata. More...

#include <EventCatalogue.h>

Public Types

enum  searchAttributes {
  kStorageName , kFilePath , kEventNumber , kSoftwareVersion ,
  kPeriodNumber , kRunNumber , kTrackNumber , kError ,
  kStorageName , kFilePath , kEventNumber , kSoftwareVersion ,
  kPeriodNumber , kRunNumber , kTrackNumber , kError
}
 enumeration for attributes, which can be used in searching event metadata More...
 
enum  matchCriteria {
  kLess , kLessOrEqual , kEqual , kNotEqual ,
  kGreater , kGreaterOrEqual , kLike , kNull ,
  kNotNull , kLess , kLessOrEqual , kEqual ,
  kNotEqual , kGreater , kGreaterOrEqual , kLike ,
  kNull , kNotNull
}
 enumeration for conditions, which can be used for matching with a specified value More...
 
enum  searchAttributes {
  kStorageName , kFilePath , kEventNumber , kSoftwareVersion ,
  kPeriodNumber , kRunNumber , kTrackNumber , kError ,
  kStorageName , kFilePath , kEventNumber , kSoftwareVersion ,
  kPeriodNumber , kRunNumber , kTrackNumber , kError
}
 enumeration for attributes, which can be used in searching event metadata More...
 
enum  matchCriteria {
  kLess , kLessOrEqual , kEqual , kNotEqual ,
  kGreater , kGreaterOrEqual , kLike , kNull ,
  kNotNull , kLess , kLessOrEqual , kEqual ,
  kNotEqual , kGreater , kGreaterOrEqual , kLike ,
  kNull , kNotNull
}
 enumeration for conditions, which can be used for matching with a specified value More...
 

Public Member Functions

 EventCondition (searchAttributes attribute, matchCriteria condition)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, int value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, unsigned int value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, double value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, string value)
 
virtual ~EventCondition ()
 
 EventCondition (searchAttributes attribute, matchCriteria condition)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, int value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, unsigned int value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, double value)
 
 EventCondition (searchAttributes attribute, matchCriteria condition, string value)
 
virtual ~EventCondition ()
 

Detailed Description

Class for describing a condition to search for necessary event metadata.

Definition at line 37 of file EventCatalogue.h.

Member Enumeration Documentation

◆ matchCriteria [1/2]

enumeration for conditions, which can be used for matching with a specified value

Enumerator
kLess 
kLessOrEqual 
kEqual 
kNotEqual 
kGreater 
kGreaterOrEqual 
kLike 
kNull 
kNotNull 
kLess 
kLessOrEqual 
kEqual 
kNotEqual 
kGreater 
kGreaterOrEqual 
kLike 
kNull 
kNotNull 

Definition at line 53 of file EventCatalogue.h.

◆ matchCriteria [2/2]

enumeration for conditions, which can be used for matching with a specified value

Enumerator
kLess 
kLessOrEqual 
kEqual 
kNotEqual 
kGreater 
kGreaterOrEqual 
kLike 
kNull 
kNotNull 
kLess 
kLessOrEqual 
kEqual 
kNotEqual 
kGreater 
kGreaterOrEqual 
kLike 
kNull 
kNotNull 

Definition at line 53 of file EventCatalogue.h.

◆ searchAttributes [1/2]

enumeration for attributes, which can be used in searching event metadata

Enumerator
kStorageName 
kFilePath 
kEventNumber 
kSoftwareVersion 
kPeriodNumber 
kRunNumber 
kTrackNumber 
kError 
kStorageName 
kFilePath 
kEventNumber 
kSoftwareVersion 
kPeriodNumber 
kRunNumber 
kTrackNumber 
kError 

Definition at line 41 of file EventCatalogue.h.

◆ searchAttributes [2/2]

enumeration for attributes, which can be used in searching event metadata

Enumerator
kStorageName 
kFilePath 
kEventNumber 
kSoftwareVersion 
kPeriodNumber 
kRunNumber 
kTrackNumber 
kError 
kStorageName 
kFilePath 
kEventNumber 
kSoftwareVersion 
kPeriodNumber 
kRunNumber 
kTrackNumber 
kError 

Definition at line 41 of file EventCatalogue.h.

Constructor & Destructor Documentation

◆ EventCondition() [1/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition 
)

Create condition for searching event metadata

Parameters
[in]attributeUsed for searching event metadata
[in]conditionDefining the operation of comparison with the value
[in]valueUsed in the condition for the comparison (if required)

Definition at line 28 of file EventCatalogue.cxx.

References EventCondition().

Referenced by EventCondition(), EventCondition(), EventCondition(), EventCondition(), and EventCondition().

◆ EventCondition() [2/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
int  value 
)

Definition at line 34 of file EventCatalogue.cxx.

References EventCondition().

◆ EventCondition() [3/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
unsigned int  value 
)

Definition at line 41 of file EventCatalogue.cxx.

References EventCondition().

◆ EventCondition() [4/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
double  value 
)

Definition at line 48 of file EventCatalogue.cxx.

References EventCondition().

◆ EventCondition() [5/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
string  value 
)

Definition at line 55 of file EventCatalogue.cxx.

References EventCondition().

◆ ~EventCondition() [1/2]

virtual EventCondition::~EventCondition ( )
inlinevirtual

Definition at line 77 of file EventCatalogue.h.

◆ EventCondition() [6/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition 
)

Create condition for searching event metadata

Parameters
[in]attributeUsed for searching event metadata
[in]conditionDefining the operation of comparison with the value
[in]valueUsed in the condition for the comparison (if required)

◆ EventCondition() [7/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
int  value 
)

◆ EventCondition() [8/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
unsigned int  value 
)

◆ EventCondition() [9/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
double  value 
)

◆ EventCondition() [10/10]

EventCondition::EventCondition ( searchAttributes  attribute,
matchCriteria  condition,
string  value 
)

◆ ~EventCondition() [2/2]

virtual EventCondition::~EventCondition ( )
inlinevirtual

Definition at line 77 of file EventCatalogue.h.


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