ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfSeq.h File Reference
#include "TrigMonitoringEvent/TrigConfAlg.h"
#include "AthenaKernel/CLASS_DEF.h"
#include <iosfwd>
#include <stdint.h>
#include <string>
#include <vector>
Include dependency graph for TrigConfSeq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrigConfSeq

Functions

std::string str (const TrigConfSeq &)
bool operator== (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator!= (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator< (const TrigConfSeq &lhs, const TrigConfSeq &rhs)
bool operator== (const TrigConfSeq &s, const std::string &n)
bool operator== (const std::string &n, const TrigConfSeq &s)
bool operator< (const TrigConfSeq &s, const std::string &n)
bool operator< (const std::string &n, const TrigConfSeq &s)
bool operator== (const TrigConfSeq &s, unsigned int i)
bool operator== (unsigned int i, const TrigConfSeq &s)
bool operator< (const TrigConfSeq &s, unsigned int i)
bool operator< (unsigned int i, const TrigConfSeq &s)

Function Documentation

◆ operator!=()

bool operator!= ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 84 of file TrigConfSeq.h.

84 {
85 return !(lhs == rhs);
86}

◆ operator<() [1/5]

bool operator< ( const std::string & n,
const TrigConfSeq & s )
inline

Definition at line 98 of file TrigConfSeq.h.

98{ return n < s.getName(); }

◆ operator<() [2/5]

bool operator< ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 87 of file TrigConfSeq.h.

87 {
88 return lhs.getName() < rhs.getName();
89}
const std::string & getName() const
Definition TrigConfSeq.h:44

◆ operator<() [3/5]

bool operator< ( const TrigConfSeq & s,
const std::string & n )
inline

Definition at line 97 of file TrigConfSeq.h.

97{ return s.getName() < n; }

◆ operator<() [4/5]

bool operator< ( const TrigConfSeq & s,
unsigned int i )
inline

Definition at line 103 of file TrigConfSeq.h.

103{ return s.getId() < i; }

◆ operator<() [5/5]

bool operator< ( unsigned int i,
const TrigConfSeq & s )
inline

Definition at line 104 of file TrigConfSeq.h.

104{ return i < s.getId(); }

◆ operator==() [1/5]

bool operator== ( const std::string & n,
const TrigConfSeq & s )
inline

Definition at line 95 of file TrigConfSeq.h.

95{ return n == s.getName(); }

◆ operator==() [2/5]

bool operator== ( const TrigConfSeq & lhs,
const TrigConfSeq & rhs )
inline

Definition at line 81 of file TrigConfSeq.h.

81 {
82 return lhs.getName() == rhs.getName();
83}

◆ operator==() [3/5]

bool operator== ( const TrigConfSeq & s,
const std::string & n )
inline

Definition at line 94 of file TrigConfSeq.h.

94{ return s.getName() == n; }

◆ operator==() [4/5]

bool operator== ( const TrigConfSeq & s,
unsigned int i )
inline

Definition at line 100 of file TrigConfSeq.h.

100{ return s.getId() == i; }

◆ operator==() [5/5]

bool operator== ( unsigned int i,
const TrigConfSeq & s )
inline

Definition at line 101 of file TrigConfSeq.h.

101{ return i == s.getId(); }

◆ str()

std::string str ( const TrigConfSeq & o)

Definition at line 107 of file TrigConfSeq.cxx.

108{
109 std::stringstream s;
110 s << "TrigConfSeq: " << o.getName() << " id=" << o.getId()
111 << " contains " << o.getAlg().size() << " algorithm(s): \n" ;
112
113 for(unsigned int i = 0; i < o.getAlg().size(); ++i) {
114 s << " " << str(o.getAlg()[i]) << "\n";
115 }
116
117 return s.str();
118}
size_t size() const
Number of registered mappings.
const TrigConfAlg & getAlg(unsigned int pos) const
uint32_t getId() const
Definition TrigConfSeq.h:43