1 #define GAUDISVC_PERSISTENCYSVC_OUTPUTSTREAM_CPP
34 m_doPreLoadOpt =
false;
38 m_outputType =
"UPDATE";
39 m_storeName =
"EventDataSvc";
40 m_persName =
"EventPersistencySvc";
47 m_fireIncidents =
true;
48 declareProperty(
"ItemList", m_itemNames);
49 declareProperty(
"OptItemList", m_optItemNames);
50 declareProperty(
"Preload", m_doPreLoad);
51 declareProperty(
"PreloadOptItems", m_doPreLoadOpt);
52 declareProperty(
"Output", m_output);
53 declareProperty(
"OutputFile", m_outputName);
54 declareProperty(
"EvtDataSvc", m_storeName);
55 declareProperty(
"EvtConversionSvc", m_persName);
56 declareProperty(
"AcceptAlgs", m_acceptNames);
57 declareProperty(
"RequireAlgs", m_requireNames);
58 declareProperty(
"VetoAlgs", m_vetoNames);
59 declareProperty(
"VerifyItems", m_verifyItems);
230 (*j)->registry()->identifier() :
"UnRegistered" );
232 <<
"std::exception during createRep for '" << loc <<
"' "
254 (*j)->registry()->identifier() :
"UnRegistered" );
256 <<
"std::exception during fillRepRefs for '" << loc <<
"'"
280 if ( level < m_currentItem->depth() ) {
281 if ( dir->
object() != 0 ) {
313 log <<
MSG::ERROR <<
"Cannot write mandatory object(s) (Not found) "
328 log <<
MSG::DEBUG <<
"Ignore request to write non-mandatory object(s) "
339 if (!unique.
count(*o)) {
368 if ( (*i)->path() ==
path )
return (*
i);
371 if ( (*j)->path() ==
path )
return (*j);
380 size_t sep = descriptor.rfind(
"#");
382 std::string slevel (descriptor,sep+1,descriptor.length());
383 if ( slevel ==
"*" ) {
387 level = atoi(slevel.c_str());
390 size_t idx = obj_path.
find(
"/",1);
391 while(idx != std::string::npos) {
396 idx = obj_path.find(
"/",idx+1);
402 <<
" with " << item->
depth()
403 <<
" level(s)." <<
endmsg;
427 case 'V': svc = val;
break;
428 case 'H': shr =
"YES";
break;
434 if ( ::strncasecmp(val.c_str(),
"RECREATE",3)==0 )
436 else if ( ::strncasecmp(val.c_str(),
"READ",3)==0 )
461 if ( dbType.length() > 0 || svc.length() > 0 ) {
469 status = ipers->getService(typ, cnvSvc);
471 log <<
MSG::FATAL <<
"Unable to locate IConversionSvc interface of database type " << typ <<
endmsg;
479 <<
"Unable to locate IConversionSvc interface (Unknown technology) " <<
endmsg
480 <<
"You either have to specify a technology name or a service name!" <<
endmsg
481 <<
"Please correct the job option \"" <<
name() <<
".Output\" !" <<
endmsg;
495 "OutputStream::acceptAlgsHandler",sc);
507 "OutputStream::requireAlgsHandler",sc);
519 "OutputStream::vetoAlgsHandler",sc);
539 for (it = nameList.
begin(); it != itend; ++it) {
557 for (ita = theAlgs->
begin(); ita != itaend; ++ita) {
559 if ( theAlgorithm == existAlgorithm ) {
565 theAlgorithm->addRef();
592 if ( (*i)->isExecuted() && (*i)->filterPassed() ) {
605 if ( !(*i)->isExecuted() || !(*i)->filterPassed() ) {
618 if ( (*i)->isExecuted() && (*i)->filterPassed() ) {