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();
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();
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;
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
void initialize() noexcept(false)
virtual std::list< std::unique_ptr< LMFUnique > > fetchAll() const noexcept(false)
ret
prodAgent to be discontinued
LMFRunTag getRunTagFromID(int runTag_id) const
int getRunTagID(std::string tag, int version) const
LMFTrigType getTrigType(std::string sname) const
T & unique_static_cast(U &i)
std::list< LMFPrimVers > _lmfPrimVersions
LMFColor getColorFromID(int color_id) const
std::list< LMFTrigType > _lmfTrigTypes
std::list< LMFRunTag > getRunTags() const
std::list< LMFSeqVers > _lmfSeqVersions
std::list< LMFTrigType > getTriggerTypes() const
LMFRunTag getRunTag(std::string tag, int version) const
int getColorID(std::string name) const
std::list< LMFCorrVers > _lmfCorrVersions
std::list< LMFColor > _lmfColors
LMFTrigType getTrigTypeFromID(int trigType_id) const
std::list< LMFRunTag > _lmfRunTags
int getTrigTypeID(std::string sname) const
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
std::list< LMFColor > getColors() const
LMFColor getColor(std::string name) const