BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
FileCondition Class Reference

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

#include <FileCatalogue.h>

Public Types

enum  searchAttributes {
  kPeriodNumber , kRunNumber , kRunType , kStartDateTime ,
  kEndDateTime , kBeamParticle , kTargetParticle , kEnergy ,
  kFieldVoltage , kStartEvent , kEndEvent , kEventCount ,
  kFileSize , kError , kPeriodNumber , kRunNumber ,
  kRunType , kStartDateTime , kEndDateTime , kBeamParticle ,
  kTargetParticle , kEnergy , kFieldVoltage , kStartEvent ,
  kEndEvent , kEventCount , kFileSize , kError
}
 enumeration for attributes, which can be used in searching file metadata More...
enum  matchCriteria {
  kLessOrEqual , kEqual , kNotEqual , kGreaterOrEqual ,
  kLike , kLessOrEqual , kEqual , kNotEqual ,
  kGreaterOrEqual , kLike
}
 enumeration for conditions, which can be used for matching with a specified value More...
enum  searchAttributes {
  kPeriodNumber , kRunNumber , kRunType , kStartDateTime ,
  kEndDateTime , kBeamParticle , kTargetParticle , kEnergy ,
  kFieldVoltage , kStartEvent , kEndEvent , kEventCount ,
  kFileSize , kError , kPeriodNumber , kRunNumber ,
  kRunType , kStartDateTime , kEndDateTime , kBeamParticle ,
  kTargetParticle , kEnergy , kFieldVoltage , kStartEvent ,
  kEndEvent , kEventCount , kFileSize , kError
}
 enumeration for attributes, which can be used in searching file metadata More...
enum  matchCriteria {
  kLessOrEqual , kEqual , kNotEqual , kGreaterOrEqual ,
  kLike , kLessOrEqual , kEqual , kNotEqual ,
  kGreaterOrEqual , kLike
}
 enumeration for conditions, which can be used for matching with a specified value More...

Public Member Functions

 FileCondition (searchAttributes attribute, matchCriteria condition)
 Create condition for searching file metadata.
 FileCondition (searchAttributes attribute, matchCriteria condition, int value)
 FileCondition (searchAttributes attribute, matchCriteria condition, unsigned int value)
 FileCondition (searchAttributes attribute, matchCriteria condition, float value)
 FileCondition (searchAttributes attribute, matchCriteria condition, string value)
virtual ~FileCondition ()
searchAttributes getFileAttribute ()
matchCriteria getMatchCriteria ()
string getValueAsString ()
 FileCondition (searchAttributes attribute, matchCriteria condition)
 Create condition for searching file metadata.
 FileCondition (searchAttributes attribute, matchCriteria condition, int value)
 FileCondition (searchAttributes attribute, matchCriteria condition, unsigned int value)
 FileCondition (searchAttributes attribute, matchCriteria condition, float value)
 FileCondition (searchAttributes attribute, matchCriteria condition, string value)
virtual ~FileCondition ()
searchAttributes getFileAttribute ()
matchCriteria getMatchCriteria ()
string getValueAsString ()

Private Member Functions

 FileCondition ()
 FileCondition ()

Private Attributes

int iValueType
int iValue
unsigned int uiValue
float fValue
string strValue
searchAttributes FileAttribute
matchCriteria FileMatchCriteria

Detailed Description

Definition at line 67 of file FileCatalogue.h.

Member Enumeration Documentation

◆ matchCriteria [1/2]

Enumerator
kLessOrEqual 
kEqual 
kNotEqual 
kGreaterOrEqual 
kLike 
kLessOrEqual 
kEqual 
kNotEqual 
kGreaterOrEqual 
kLike 

Definition at line 89 of file FileCatalogue.h.

◆ matchCriteria [2/2]

Enumerator
kLessOrEqual 
kEqual 
kNotEqual 
kGreaterOrEqual 
kLike 
kLessOrEqual 
kEqual 
kNotEqual 
kGreaterOrEqual 
kLike 

Definition at line 89 of file FileCatalogue.h.

◆ searchAttributes [1/2]

Enumerator
kPeriodNumber 
kRunNumber 
kRunType 
kStartDateTime 
kEndDateTime 
kBeamParticle 
kTargetParticle 
kEnergy 
kFieldVoltage 
kStartEvent 
kEndEvent 
kEventCount 
kFileSize 
kError 
kPeriodNumber 
kRunNumber 
kRunType 
kStartDateTime 
kEndDateTime 
kBeamParticle 
kTargetParticle 
kEnergy 
kFieldVoltage 
kStartEvent 
kEndEvent 
kEventCount 
kFileSize 
kError 

Definition at line 71 of file FileCatalogue.h.

◆ searchAttributes [2/2]

Enumerator
kPeriodNumber 
kRunNumber 
kRunType 
kStartDateTime 
kEndDateTime 
kBeamParticle 
kTargetParticle 
kEnergy 
kFieldVoltage 
kStartEvent 
kEndEvent 
kEventCount 
kFileSize 
kError 
kPeriodNumber 
kRunNumber 
kRunType 
kStartDateTime 
kEndDateTime 
kBeamParticle 
kTargetParticle 
kEnergy 
kFieldVoltage 
kStartEvent 
kEndEvent 
kEventCount 
kFileSize 
kError 

Definition at line 71 of file FileCatalogue.h.

Constructor & Destructor Documentation

◆ FileCondition() [1/12]

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

Definition at line 37 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, and iValueType.

◆ FileCondition() [2/12]

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

Definition at line 43 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, iValue, and iValueType.

◆ FileCondition() [3/12]

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

Definition at line 50 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, iValueType, and uiValue.

◆ FileCondition() [4/12]

FileCondition::FileCondition ( searchAttributes attribute,
matchCriteria condition,
float value )

Definition at line 57 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, fValue, and iValueType.

◆ FileCondition() [5/12]

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

Definition at line 64 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, iValueType, and strValue.

◆ ~FileCondition() [1/2]

virtual FileCondition::~FileCondition ( )
inlinevirtual

Definition at line 108 of file FileCatalogue.h.

◆ FileCondition() [6/12]

FileCondition::FileCondition ( )
private

Definition at line 72 of file FileCatalogue.cxx.

References FileAttribute, FileMatchCriteria, iValueType, kEqual, and kError.

◆ FileCondition() [7/12]

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

◆ FileCondition() [8/12]

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

◆ FileCondition() [9/12]

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

◆ FileCondition() [10/12]

FileCondition::FileCondition ( searchAttributes attribute,
matchCriteria condition,
float value )

◆ FileCondition() [11/12]

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

◆ ~FileCondition() [2/2]

virtual FileCondition::~FileCondition ( )
inlinevirtual

Definition at line 108 of file FileCatalogue.h.

◆ FileCondition() [12/12]

FileCondition::FileCondition ( )
private

Member Function Documentation

◆ getFileAttribute() [1/2]

FileCondition::searchAttributes FileCondition::getFileAttribute ( )

Definition at line 78 of file FileCatalogue.cxx.

References FileAttribute.

◆ getFileAttribute() [2/2]

searchAttributes FileCondition::getFileAttribute ( )

◆ getMatchCriteria() [1/2]

FileCondition::matchCriteria FileCondition::getMatchCriteria ( )

Definition at line 83 of file FileCatalogue.cxx.

References FileMatchCriteria.

◆ getMatchCriteria() [2/2]

matchCriteria FileCondition::getMatchCriteria ( )

◆ getValueAsString() [1/2]

string FileCondition::getValueAsString ( )

Definition at line 88 of file FileCatalogue.cxx.

References fValue, iValue, iValueType, strValue, and uiValue.

◆ getValueAsString() [2/2]

string FileCondition::getValueAsString ( )

Member Data Documentation

◆ FileAttribute

searchAttributes FileCondition::FileAttribute
private

◆ FileMatchCriteria

matchCriteria FileCondition::FileMatchCriteria
private

◆ fValue

float FileCondition::fValue
private

Definition at line 121 of file FileCatalogue.h.

Referenced by FileCondition(), FileCondition(), and getValueAsString().

◆ iValue

int FileCondition::iValue
private

Definition at line 119 of file FileCatalogue.h.

Referenced by FileCondition(), FileCondition(), and getValueAsString().

◆ iValueType

int FileCondition::iValueType
private

◆ strValue

string FileCondition::strValue
private

Definition at line 122 of file FileCatalogue.h.

Referenced by FileCondition(), FileCondition(), and getValueAsString().

◆ uiValue

unsigned int FileCondition::uiValue
private

Definition at line 120 of file FileCatalogue.h.

Referenced by FileCondition(), FileCondition(), and getValueAsString().


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