5#ifndef COLLECTIONSVC_IMPLICITCOLLECTION_H
6#define COLLECTIONSVC_IMPLICITCOLLECTION_H
14#include "Gaudi/PluginService.h"
21 class ICollectionQuery;
22 class ICollectionIterator;
46 virtual void commit(
bool =
false) override final { };
47 virtual void close() override final { };
48 virtual void open() override final { };
ElementLink & operator=(const ElementLink &)=default
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
APRMessaging(const std::string &name)
An implementation used to define the properties of a collection to be constructed and to retrieve the...
A class representing a row of a collection.
An interface used to navigate the result of a query on a collection.
An interface to a storage technology specific collection of event references and attributes.
OpenMode
Enumeration of the possible open modes of the collection.
IContainer is the base class for container objects.
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...
Iterator over an implicit collection.
ImplicitCollection(const CollectionDescription *description, ICollection::OpenMode mode, ISession *session)
Constructor compying to the new Collections API parameters as above, but name and connection passed i...
ImplicitCollection(const ImplicitCollection &)=delete
virtual void close() override final
Closes the collection and terminates any database connections.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer) override final
Adds a new row of data to the collection. Will always throw exception.
virtual void open() override final
Opens the collection and initializes it if necessary.
virtual void commit(bool=false) override final
Base interface methods that do nothing. Open/Close happens in xtor and dtor, and commit is a no-op.
virtual const CollectionDescription & description() const override final
Returns an object used to describe the collection properties.
virtual std::unique_ptr< ICollectionCursor > cursor() override final
Returns a cursor for the collection.
IContainer * m_container
The underlying container handle.
~ImplicitCollection()
Destructor.
CollectionDescription m_description