All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DataSelectionAgent Class Reference

DataSelectionAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria. More...

#include <GaudiKernel/DataSelectionAgent.h>

Inheritance diagram for DataSelectionAgent:
Collaboration diagram for DataSelectionAgent:

Public Member Functions

 DataSelectionAgent ()
 Default creator. More...
 
virtual ~DataSelectionAgent ()
 Destructor. More...
 
IDataSelectorselectedObjects ()
 Return the set of selected DataObjects. More...
 
virtual bool analyse (IRegistry *pRegistry, int)
 Analyses a given directory entry. More...
 
- Public Member Functions inherited from IDataStoreAgent
virtual ~IDataStoreAgent ()
 destructor More...
 

Protected Attributes

IDataSelector m_objects
 

Detailed Description

DataSelectionAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria.

The default behaviour is to collect all entries.

Author
Markus Frank

Definition at line 17 of file DataSelectionAgent.h.

Constructor & Destructor Documentation

DataSelectionAgent::DataSelectionAgent ( )
inline

Default creator.

Definition at line 22 of file DataSelectionAgent.h.

22  {
23  }
virtual DataSelectionAgent::~DataSelectionAgent ( )
inlinevirtual

Destructor.

Definition at line 25 of file DataSelectionAgent.h.

25  {
26  }

Member Function Documentation

virtual bool DataSelectionAgent::analyse ( IRegistry pRegistry,
int   
)
inlinevirtual

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 32 of file DataSelectionAgent.h.

32  {
33  DataObject* obj = pRegistry->object();
34  if ( 0 != obj ) m_objects.push_back(obj);
35  return true;
36  }
IDataSelector m_objects
virtual DataObject * object() const =0
Retrieve object behind the link.
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:31
IDataSelector* DataSelectionAgent::selectedObjects ( )
inline

Return the set of selected DataObjects.

Definition at line 28 of file DataSelectionAgent.h.

28  {
29  return &m_objects;
30  }
IDataSelector m_objects

Member Data Documentation

IDataSelector DataSelectionAgent::m_objects
protected

Definition at line 19 of file DataSelectionAgent.h.


The documentation for this class was generated from the following file: