/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions
MockEvtStorageSvc Class Reference

#include <MockEvtStorageSvc.h>

Inheritance diagram for MockEvtStorageSvc:
Inheritance graph
[legend]
Collaboration diagram for MockEvtStorageSvc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MockEvtStorageSvc (const std::string &name, ISvcLocator *svc)
 Standard Service Constructor.
virtual ~MockEvtStorageSvc ()
 Destructor.
virtual StatusCode store (const IRegistrationSequence &regSeq)
virtual StatusCode store (DataObject *, const std::string &)
virtual StatusCode queryInterface (const InterfaceID &id, void **interface)
 Methods required by ServiceManager.

Static Public Member Functions

static const InterfaceID & interfaceID ()

Detailed Description

Definition at line 7 of file MockEvtStorageSvc.h.


Constructor & Destructor Documentation

MockEvtStorageSvc::MockEvtStorageSvc ( const std::string &  name,
ISvcLocator *  svc 
)

Standard Service Constructor.

Definition at line 7 of file MockEvtStorageSvc.cpp.

                                                       :
                                       Service(name,
                                               svc) {
}
MockEvtStorageSvc::~MockEvtStorageSvc ( ) [virtual]

Destructor.

Definition at line 13 of file MockEvtStorageSvc.cpp.

                                      {
}

Member Function Documentation

StatusCode MockEvtStorageSvc::store ( const IRegistrationSequence regSeq) [virtual]

Implements IDybStorageSvc.

Definition at line 16 of file MockEvtStorageSvc.cpp.

                                                                       {

  typedef IRegistrationSequence::Registrations Registrations;

  MsgStream log(msgSvc(),
                name());
  log << MSG::INFO
      << "The following item are to be stored."
      << endreq;
  
  const Registrations& registrations = regSeq.registrations();
  const Registrations::const_iterator finished = registrations.end();
  for (Registrations::const_iterator registration = registrations.begin();
       finished != registration;
       ++registration) {
    std::string store = "";
    if ((*registration).store()) {
      log << MSG::INFO
          << "  An object registered at \""
          << (*registration).path()
          << "\"."
          << endreq;
    }
  }

  return StatusCode::SUCCESS;
}
virtual StatusCode MockEvtStorageSvc::store ( DataObject *  ,
const std::string &   
) [inline, virtual]

Implements IDybStorageSvc.

Definition at line 21 of file MockEvtStorageSvc.h.

{};
StatusCode MockEvtStorageSvc::queryInterface ( const InterfaceID &  id,
void **  interface 
) [virtual]

Methods required by ServiceManager.

Definition at line 44 of file MockEvtStorageSvc.cpp.

                                                             {
  if (IDybStorageSvc::interfaceID().versionMatch(id)) {
    // If good enough match return this object.
    *interface = (IDybStorageSvc*)this;
    addRef();
  } else {
    // Interface is not directly available: try out a base class.
    return Service::queryInterface(id,
                                   interface);
  }

  return StatusCode::SUCCESS;
}

The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:08:54 for MockEvt by doxygen 1.7.4