37 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
38 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
41 while ((loop) && (i != e)) {
42 if (i->getShortName() ==
name) {
52 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
53 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
56 while ((loop) && (i != e)) {
57 if (i->getID() ==
id) {
67 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
68 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
71 while ((loop) && (i != e)) {
72 if (i->getColorIndex() ==
index) {
92 while ((loop) && (i != e)) {
93 if (i->getShortName() == sname) {
107 while ((loop) && (i != e)) {
108 if (i->getID() ==
id) {
118 std::list<LMFRunTag>::const_iterator
i =
_lmfRunTags.begin();
119 std::list<LMFRunTag>::const_iterator
e =
_lmfRunTags.end();
122 while ((loop) && (i != e)) {
123 if ((i->getGeneralTag()) == tag && (i->getVersion() ==
version)) {
132 std::list<LMFRunTag>::const_iterator
i =
_lmfRunTags.begin();
133 std::list<LMFRunTag>::const_iterator
e =
_lmfRunTags.end();
136 while ((loop) && (i != e)) {
137 if (i->getID() ==
id) {
147 template <
typename T,
typename U>
149 return *(
static_cast<T *
>(i.get()));
161 auto i = listOfObjects.begin();
162 auto e = listOfObjects.end();
169 listOfObjects.clear();
171 i = listOfObjects.begin();
172 e = listOfObjects.end();
178 listOfObjects.clear();
180 i = listOfObjects.begin();
181 e = listOfObjects.end();
187 listOfObjects.clear();
189 i = listOfObjects.begin();
190 e = listOfObjects.end();
196 listOfObjects.clear();
198 i = listOfObjects.begin();
199 e = listOfObjects.end();
205 listOfObjects.clear();
207 i = listOfObjects.begin();
208 e = listOfObjects.end();
214 listOfObjects.clear();
223 std::runtime_error(
"LMFDefFabric: cannot initialize since connection not"
229 std::cout <<
"========= Fabric dump @ address " <<
this <<
" ============" << std::endl;
230 std::list<LMFColor>::const_iterator i1 =
_lmfColors.begin();
231 std::list<LMFTrigType>::const_iterator i2 =
_lmfTrigTypes.begin();
232 std::list<LMFRunTag>::const_iterator i3 =
_lmfRunTags.begin();
236 std::list<LMFColor>::const_iterator e1 =
_lmfColors.end();
237 std::list<LMFTrigType>::const_iterator e2 =
_lmfTrigTypes.end();
238 std::list<LMFRunTag>::const_iterator e3 =
_lmfRunTags.end();
246 std::cout <<
"=== Trigger Types" << std::endl;
250 std::cout <<
"=== Run Tags" << std::endl;
254 std::cout <<
"=== Prim. Vers." << std::endl;
258 std::cout <<
"=== Seq. Vers." << std::endl;
262 std::cout <<
"=== Corr. Vers." << std::endl;
LMFRunTag getRunTag(std::string tag, int version) const
LMFColor getColorFromID(int color_id) const
tuple ret
prodAgent to be discontinued
std::list< LMFTrigType > getTriggerTypes() const
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
const edm::EventSetup & c
uint16_t *__restrict__ id
void initialize() noexcept(false)
virtual std::list< std::unique_ptr< LMFUnique > > fetchAll() const noexcept(false)
LMFColor getColor(std::string name) const
int getColorID(std::string name) const
oracle::occi::Environment * getEnv() const
std::list< LMFPrimVers > _lmfPrimVersions
oracle::occi::Connection * getConn() const
T & unique_static_cast(U &i)
std::list< LMFTrigType > _lmfTrigTypes
LMFRunTag getRunTagFromID(int runTag_id) const
std::list< LMFSeqVers > _lmfSeqVersions
std::list< LMFCorrVers > _lmfCorrVersions
int getRunTagID(std::string tag, int version) const
int getTrigTypeID(std::string sname) const
std::list< LMFColor > _lmfColors
std::list< LMFRunTag > getRunTags() const
std::list< LMFRunTag > _lmfRunTags
LMFTrigType getTrigType(std::string sname) const
LMFTrigType getTrigTypeFromID(int trigType_id) const
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
std::list< LMFColor > getColors() const