36 if( wl[0] ==
"DIMENSIONS:" ) {
45 }
else if( wl[0] ==
"FIX:" || wl[0] ==
"CAL:" || wl[0] ==
"UNK:" ) {
65 std::vector<EntryData*>::iterator ite;
68 ( (*ite)->entryName() == entryName || entryName ==
"" ) ) {
69 if( icount == 0 ) data = (*ite);
70 if( entryName !=
"" ) icount++;
76 std::cerr <<
"!!! WARNING: >1 objects with OptO name= " << optoName <<
" and entry Name = " << entryName << std::endl;
88 std::vector<EntryData*>::iterator ite;
91 if( (*ite)->longOptOName() == optoName &&
92 ( (*ite)->entryName() == entryName || entryName ==
"" ) ) {
96 if( icount == 0 ) data = (*ite);
97 if(
ALIUtils::debug >= 6)
std::cout << data <<
" " << icount <<
" data longOptOName " << (*ite)->
longOptOName() <<
" entryName " << (*ite)->entryName() <<
" " << (*ite)->valueOriginal() << std::endl;
99 if( entryName !=
"" ) icount++;
105 std::cerr <<
"!!! FATAL ERROR in EntryMgr::findEntryByLongName: >1 objects with OptO name= " << optoName <<
" and entry name = " << entryName << std::endl;
128 ALIint isl = name.rfind(
"/");
132 return name.substr( isl+1, name.size() );
static EntryMgr * theInstance
EntryData * findEntry(const std::vector< ALIstring > &wl)
void fill(const std::vector< ALIstring > &wordlist)
ALIdouble dimOutLengthSig
EntryData * findEntryByShortName(const ALIstring &optoName, const ALIstring &entryName="")
const ALIstring & longOptOName() const
ALIstring extractShortName(const ALIstring &name)
ALIdouble dimOutLengthVal
static EntryMgr * getInstance()
static ALIdouble getDimensionValue(const ALIstring &dim, const ALIstring &dimType)
std::vector< EntryData * > theEntryData
ALIbool readEntryFromReportOut(const std::vector< ALIstring > &wl)
static ALIdouble AngleValueDimensionFactor()
EntryData * findEntryByLongName(const ALIstring &optoName, const ALIstring &entryName="")
static ALIdouble LengthValueDimensionFactor()