| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Public Member Functions | Protected Attributes

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

List of all members.

## 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.
## 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_v23r0/GaudiKernel/GaudiKernel/DataSelectionAgent.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines