BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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)
 Create condition for searching event metadata.
 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)
 Create condition for searching event metadata.
 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 ()

Private Member Functions

 EventCondition ()
 EventCondition ()

Private Attributes

searchAttributes EventAttribute
matchCriteria EventMatchCriteria
int iValueType
int iValue
unsigned int uiValue
double dValue
string strValue

Detailed Description

Definition at line 37 of file EventCatalogue.h.

Member Enumeration Documentation

◆ matchCriteria [1/2]

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]

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]

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]

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/12]

EventCondition::EventCondition ( searchAttributes attribute,
matchCriteria condition )
Parameters
[in]attributeUsed for searching event metadata
[in]conditionDefining the operation of comparison with the value

Definition at line 28 of file EventCatalogue.cxx.

References EventAttribute, EventMatchCriteria, and iValueType.

◆ EventCondition() [2/12]

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

Definition at line 34 of file EventCatalogue.cxx.

References EventAttribute, EventMatchCriteria, iValue, and iValueType.

◆ EventCondition() [3/12]

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

Definition at line 41 of file EventCatalogue.cxx.

References EventAttribute, EventMatchCriteria, iValueType, and uiValue.

◆ EventCondition() [4/12]

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

Definition at line 48 of file EventCatalogue.cxx.

References dValue, EventAttribute, EventMatchCriteria, and iValueType.

◆ EventCondition() [5/12]

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

Definition at line 55 of file EventCatalogue.cxx.

References EventAttribute, EventMatchCriteria, iValueType, and strValue.

◆ ~EventCondition() [1/2]

virtual EventCondition::~EventCondition ( )
inlinevirtual

Definition at line 76 of file EventCatalogue.h.

◆ EventCondition() [6/12]

EventCondition::EventCondition ( )
private

Definition at line 63 of file EventCatalogue.cxx.

References EventAttribute, EventMatchCriteria, iValueType, kEqual, and kError.

◆ EventCondition() [7/12]

EventCondition::EventCondition ( searchAttributes attribute,
matchCriteria condition )
Parameters
[in]attributeUsed for searching event metadata
[in]conditionDefining the operation of comparison with the value

◆ EventCondition() [8/12]

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

◆ EventCondition() [9/12]

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

◆ EventCondition() [10/12]

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

◆ EventCondition() [11/12]

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

◆ ~EventCondition() [2/2]

virtual EventCondition::~EventCondition ( )
inlinevirtual

Definition at line 76 of file EventCatalogue.h.

◆ EventCondition() [12/12]

EventCondition::EventCondition ( )
private

Member Data Documentation

◆ dValue

double EventCondition::dValue
private

Definition at line 88 of file EventCatalogue.h.

Referenced by EventCondition(), and EventCondition().

◆ EventAttribute

searchAttributes EventCondition::EventAttribute
private

◆ EventMatchCriteria

matchCriteria EventCondition::EventMatchCriteria
private

◆ iValue

int EventCondition::iValue
private

Definition at line 86 of file EventCatalogue.h.

Referenced by EventCondition(), and EventCondition().

◆ iValueType

int EventCondition::iValueType
private

◆ strValue

string EventCondition::strValue
private

Definition at line 89 of file EventCatalogue.h.

Referenced by EventCondition(), and EventCondition().

◆ uiValue

unsigned int EventCondition::uiValue
private

Definition at line 87 of file EventCatalogue.h.

Referenced by EventCondition(), and EventCondition().


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