ATLAS Offline Software
Loading...
Searching...
No Matches
ICollectionSize.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14#ifndef ATHENAKERNEL_ICOLLECTIONSIZE_H
15#define ATHENAKERNEL_ICOLLECTIONSIZE_H
16
17
18#include "GaudiKernel/StatusCode.h"
19#include "GaudiKernel/IInterface.h"
20
25class ICollectionSize : virtual public IInterface
26{
27public:
29
33 virtual ~ICollectionSize () {};
34
38 virtual int size () = 0;
39};
40
41
42#endif // not ATHENAKERNEL_ICOLLECTIONSIZE_H
Abstract interface for finding the size of an event collection.
virtual int size()=0
Return the size of the collection.
DeclareInterfaceID(ICollectionSize, 1, 0)
virtual ~ICollectionSize()
Destructor.