15 oracle::occi::Connection*
conn) {
51 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
52 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
55 while ((loop) && (i != e)) {
56 if (i->getShortName() ==
name) {
66 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
67 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
70 while ((loop) && (i != e)) {
71 if (i->getID() ==
id) {
81 std::list<LMFColor>::const_iterator
i =
_lmfColors.begin();
82 std::list<LMFColor>::const_iterator
e =
_lmfColors.end();
85 while ((loop) && (i != e)) {
86 if (i->getColorIndex() ==
index) {
112 while ((loop) && (i != e)) {
113 if (i->getShortName() ==
sname) {
127 while ((loop) && (i != e)) {
128 if (i->getID() ==
id) {
138 std::list<LMFRunTag>::const_iterator
i =
_lmfRunTags.begin();
139 std::list<LMFRunTag>::const_iterator
e =
_lmfRunTags.end();
142 while ((loop) && (i != e)) {
143 if ((i->getGeneralTag()) == tag && (i->getVersion() ==
version)) {
152 std::list<LMFRunTag>::const_iterator
i =
_lmfRunTags.begin();
153 std::list<LMFRunTag>::const_iterator
e =
_lmfRunTags.end();
156 while ((loop) && (i != e)) {
157 if (i->getID() ==
id) {
170 throw (std::runtime_error) {
178 boost::ptr_list<LMFUnique> listOfObjects;
179 boost::ptr_list<LMFUnique>::const_iterator
i;
180 boost::ptr_list<LMFUnique>::const_iterator
e;
182 i = listOfObjects.begin();
183 e = listOfObjects.end();
189 listOfObjects.clear();
191 i = listOfObjects.begin();
192 e = listOfObjects.end();
198 listOfObjects.clear();
200 i = listOfObjects.begin();
201 e = listOfObjects.end();
207 listOfObjects.clear();
209 i = listOfObjects.begin();
210 e = listOfObjects.end();
216 listOfObjects.clear();
218 i = listOfObjects.begin();
219 e = listOfObjects.end();
225 listOfObjects.clear();
227 i = listOfObjects.begin();
228 e = listOfObjects.end();
234 listOfObjects.clear();
242 throw(std::runtime_error(
"LMFDefFabric: cannot initialize since connection not"
248 std::cout <<
"========= Fabric dump @ address " <<
this <<
" ============"
250 std::list<LMFColor>::const_iterator i1 =
_lmfColors.begin();
251 std::list<LMFTrigType>::const_iterator i2 =
_lmfTrigTypes.begin();
252 std::list<LMFRunTag>::const_iterator i3 =
_lmfRunTags.begin();
256 std::list<LMFColor>::const_iterator e1 =
_lmfColors.end();
257 std::list<LMFTrigType>::const_iterator e2 =
_lmfTrigTypes.end();
258 std::list<LMFRunTag>::const_iterator e3 =
_lmfRunTags.end();
266 std::cout <<
"=== Trigger Types" << std::endl;
270 std::cout <<
"=== Run Tags" << std::endl;
274 std::cout <<
"=== Prim. Vers." << std::endl;
278 std::cout <<
"=== Seq. Vers." << std::endl;
282 std::cout <<
"=== Corr. Vers." << std::endl;
LMFRunTag getRunTag(std::string tag, int version) const
LMFColor getColorFromID(int color_id) const
std::list< LMFTrigType > getTriggerTypes() const
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
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
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
virtual boost::ptr_list< LMFUnique > fetchAll() 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