45   ListName&                                
files() { 
return m_files; }
    46   void*                                    
identifier()
 const override { 
return (
void*)m_pSelector; }
    49   void setFileIterator( ListName::const_iterator new_iter ) { m_fileIterator = new_iter; }
    66     error() << 
"Error initializing base class Service!" << 
endmsg;
    69   m_pAddrCreator = serviceLocator()->service( 
"EventPersistencySvc" );
    70   if ( !m_pAddrCreator ) {
    71     error() << 
"Unable to locate IAddressCreator interface of "    72             << 
"EventPersistencySvc" << 
endmsg;
    75   m_tupleSvc = serviceLocator()->service( m_tupleSvcName );
    77     error() << 
"Unable to locate INTupleSvc interface of " << m_tupleSvcName << 
endmsg;
    88   if ( svc && !db.
empty() ) {
    90     ident += 
"DATAFILE='" + m_database.value().
substr( 5 ) + 
"' ";
    91     if ( !m_dbSvc.empty() )
    92       ident += 
"SVC='" + m_dbSvc + 
"' ";
    94       ident += 
"TYP='" + m_dbType + 
"' ";
    95     ident += 
"OPT='READ' ";
    96     if ( m_authentication.length() > 0 ) {
    97       ident += 
"AUTH='" + m_authentication + 
"' ";
   112     status = tup->item( itName, *item );
   113     if ( status.isSuccess() ) 
return status;
   114     error() << 
"Item " << itName << 
" is not part of the collection:" << top << 
endmsg;
   118     error() << 
"Cannot connect to collection:" << top << 
endmsg;
   130     if ( !crit.
empty() && seltyp.
length() == 0 ) seltyp = 
"NTuple::Selector";
   148       status = m_tupleSvc->readRecord( tuple );
   151         bool              use_it    = ( statement ) ? ( *statement )( tuple ) : 
true;
   170         long* ip = (
long*)pAddr->
ipar();
   174             status = m_tupleSvc->readRecord( tuple );
   177               bool              use_it    = ( statement ) ? ( *statement )( tuple ) : 
true;
   196     StatusCode status = connectDataSource( m_database, m_dbType );
   198       status = connectTuple( m_cntName, m_itemName, ctxt->
tuple, ctxt->
item );
   216   m_pAddrCreator = 
nullptr;
   217   m_tupleSvc     = 
nullptr;
   228     error() << 
"Unable to connect Collection file \"" << m_database << 
"\"" << 
endmsg;
   245     for ( 
int i = 0; i < jump && sc.isSuccess(); ++i ) {
   246       sc = getNextRecord( ctxt->
tuple );
   263     for ( 
int i = 0; i < jump && sc.isSuccess(); ++i ) {
   264       sc = getPreviousRecord( ctxt->
tuple );
   287         error() << 
"Failed to access " << pA->
par()[0] << 
":" << pA->
par()[1] << 
" SvcTyp:" << long( pA->
svcType() )
 StatusCode initialize() override
 
Small smart pointer class with automatic reference counting for IInterface. 
 
StatusCode createContext(Context *&refpCtxt) const  override
Create a new event loop context. 
 
virtual const CLID & clID() const  =0
Retrieve class information from link. 
 
virtual StatusCode getNextRecord(NTuple::Tuple *tuple) const 
Read next record of the N-tuple. 
 
StatusCode resetCriteria(const std::string &cr, Context &c) const  override
Will set a new criteria for the selection of the next list of events and will change the state of the...
 
StatusCode finalize() override
 
A select statement can either contain. 
 
EventCollectionContext(const EventCollectionSelector *pSelector)
Standard constructor. 
 
The Event Selector Interface. 
 
unsigned long addRef() override
Add reference to object. 
 
bool isSuccess() const 
Test for a status code of SUCCESS. 
 
unsigned long release() override
release reference to object 
 
virtual StatusCode connectDataSource(const std::string &db, const std::string &typ) const 
Connect collection's data source to selector. 
 
~EventCollectionContext() override
Standard destructor. 
 
Generic Transient Address. 
 
virtual ISelectStatement * selector()=0
Access selector. 
 
virtual const std::string * par() const  =0
Retrieve String parameters. 
 
GenericAddress * m_pAddressBuffer
 
IRegistry * registry() const 
Get pointer to Registry. 
 
#define DECLARE_COMPONENT(type)
 
StatusCode createAddress(const Context &refCtxt, IOpaqueAddress *&refpAddr) const  override
Create new Opaque address corresponding to the current record. 
 
NTuple interface class definition. 
 
StatusCode finalize() override
Service override: Finalize Service. 
 
virtual StatusCode connect(const std::string &logon, std::string &identifier)=0
Connect data source. 
 
ListName::const_iterator fileIterator()
 
const std::string & currentInput() const 
 
virtual const unsigned long * ipar() const  =0
Access to generic link parameters. 
 
This class is used for returning status codes from appropriate routines. 
 
void setFileIterator(ListName::const_iterator new_iter)
 
The IRegistry represents the entry door to the environment any data object residing in a transient da...
 
StatusCode last(Context &refCtxt) const  override
Access last item in the iteration. 
 
virtual long svcType() const  =0
Retrieve service type. 
 
Abstract base class which allows the user to interact with the actual N tuple implementation. 
 
void setCurrentInput(const std::string &v)
 
const EventCollectionSelector * m_pSelector
 
virtual StatusCode getPreviousRecord(NTuple::Tuple *tuple) const 
Read next record of the N-tuple. 
 
Definition of class EventCollectionSelector. 
 
StatusCode previous(Context &refCtxt) const  override
Get previous iteration item from the event loop context. 
 
StatusCode releaseContext(Context *&refCtxt) const  override
Release existing event iteration context. 
 
NTuple::Item< IOpaqueAddress * > * item
 
StatusCode initialize() override
Service override: Initialize service. 
 
IOpaqueAddress * addressBuffer
 
virtual StatusCode connectTuple(const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, NTuple::Item< IOpaqueAddress * > *&item) const 
Connect to existing N-tuple. 
 
std::list< std::string > ListName
 
Opaque address interface definition. 
 
StatusCode rewind(Context &refCtxt) const  override
Rewind the dataset. 
 
virtual StatusCode attachSelector(ISelectStatement *sel)=0
Attach selector. 
 
std::string m_currentInput
 
virtual StatusCode connectCollection(MyContextType *ctxt) const 
Connect collection to selector. 
 
ListName::const_iterator m_fileIterator
 
virtual IOpaqueAddress * address() const  =0
Retrieve opaque storage address. 
 
virtual void setCriteria(const std::string &crit)=0
Set the type. 
 
A DataObject is the base class of any identifiable object on any data store. 
 
StatusCode next(Context &refCtxt) const  override
Get next iteration item from the event loop context. 
 
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream. 
 
void setCriteria(const std::string &crit)
 
void * identifier() const  override
 
virtual StatusCode connectStatement(const std::string &typ, const std::string &crit, INTuple *tuple) const 
Connect selection statement to refine data access.