| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
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:
[legend]
Collaboration diagram for DataSelectionAgent:
[legend]

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

## 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.

{
}

virtual DataSelectionAgent::~DataSelectionAgent | ( |  | ) |
| inline virtual

Destructor.

Definition at line 25 of file DataSelectionAgent.h.

{
}

## Member Function Documentation

virtual bool DataSelectionAgent::analyse | ( | IRegistry * | pRegistry,
|  | int |
| ) |  |
| inline virtual

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 32 of file DataSelectionAgent.h.

{
DataObject* obj = pRegistry->object();
if ( 0 != obj ) m_objects.push_back(obj);
return true;
}

IDataSelector* DataSelectionAgent::selectedObjects | ( |  | ) |
| inline

Return the set of selected DataObjects.

Definition at line 28 of file DataSelectionAgent.h.

{
return &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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/DataSelectionAgent.h