4 using std::ostringstream;
73 s <<
"\n\nSimFlag Association Status: ";
74 if (
fAssociations.size() == 0 ) { s <<
"Not enabled" << endl; }
80 while ( mapItr != mapItrEnd ) {
85 buff << name <<
"(" << value <<
")";
87 if ( name.size() < 20 ) { name.append(20-name.size(),
' '); }
88 s << name <<
"maps to: ";
91 SimList_t::const_iterator listItr = l.begin();
92 SimList_t::const_iterator listItrEnd = l.end();
93 while ( listItr != listItrEnd ) {
96 s << n <<
"(" << v <<
")";
98 if ( listItr != listItrEnd ) { s <<
", "; }
113 Bool_t hasChanged = kFALSE;
115 const char* key = keyItr();
118 const char* nextKey = keyItr();
119 if ( ! strncmp(
"SimFlagAssociation:",key,19) ) {
122 string Name = key+19;
124 const char* listChars = 0;
131 vector<string>::iterator itr = ls.begin();
132 vector<string>::iterator itrEnd = ls.end();
133 for (; itr != itrEnd; ++itr ) {
143 }
else cout <<
"Illegal SimFlagAssociation registry item: " << key
144 <<
" = " << listChars << endl;
151 if ( hasChanged ) { this->
Show(); }