13 #define GAUDISVC_EVENTSELECTOR_EVENTSELECTORDATASTREAM_CPP 1
57 if ( 0 != pSelector ) pSelector->
addRef();
65 if ( (*i).name() == nam ) {
75 if ( (*i).name() == nam ) {
85 std::string auth, dbtyp, collsvc,
item, crit,
sel, svc, stmt;
86 std::string cnt =
"/Event";
87 std::string db =
"<Unknown>";
91 if( !eds.isValid() ) {
92 std::cout <<
"ERROR: Unable to localize interface IDataManagerSvc from service EventDataSvc"
97 cnt = eds->rootName();
103 for ( Tokenizer::Items::iterator
i = tok.
items().begin();
i != tok.
items().end();
i++ ) {
105 const std::string& tag = (*i).tag();
106 const std::string& val = (*i).value();
115 hash = val.find(
'#');
117 cnt = val.substr(0,hash);
118 item = val.substr(hash+1, val.length()-hash-1);
178 else if ( dbtyp.substr(0,4) ==
"POOL" ) {
181 else if ( svc.empty() ) {
188 if ( svc.length() == 0 && dbtyp.length() != 0 ) {
190 if ( ipers.isValid() ) {
192 status = ipers->getService(dbtyp, icnvSvc);
211 if ( !isData && !collsvc.empty() ) {