55 std::map<int, int>::const_iterator iter =
geomMap.begin();
56 std::map<int, int>::const_iterator iend =
geomMap.end();
57 while (iter != iend) {
58 const std::pair<int, int>&
entry = *iter++;
59 int cha = entry.first;
60 int pnt = entry.second;
64 decode(cha, whe, sec, sta);
73 std::cout << sec <<
" " << sta <<
" " << p_n <<
" " << c_t << std::endl;
74 int pnc =
getPN(whe, sec, sta);
75 int ctc =
getCT(whe, sec, sta);
76 if ((pnc != p_n) || (ctc != c_t))
77 std::cout <<
"****************** " << pnc <<
" " << ctc << std::endl;
365 whe = (code / 1000) - 3;
366 sec = (code / 10) % 100;
380 std::map<int, int>::const_iterator iter =
geomMap.find(
idCode(whe, sec, sta));
381 std::map<int, int>::const_iterator iend =
geomMap.end();
static int getPN(int whe, int sec, int sta)
static void decode(int code, int &whe, int &sec, int &sta)
static int pnCode(int p, int t)
static int getCT(int whe, int sec, int sta)
static void dump()
dump map
static int idCode(int whe, int sec, int sta)
static int getData(int whe, int sec, int sta)
int station() const
Return the station number.
int wheel() const
Return the wheel number.
static std::map< int, int > geomMap