ATLAS Offline Software
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 
14 #ifndef ATHENAKERNEL_ICOLLECTIONSIZE_H
15 #define ATHENAKERNEL_ICOLLECTIONSIZE_H
16 
17 
18 #include "GaudiKernel/StatusCode.h"
19 #include "GaudiKernel/IInterface.h"
20 
25 class ICollectionSize : virtual public IInterface
26 {
27 public:
29 
33  virtual ~ICollectionSize () {};
34 
38  virtual int size () = 0;
39 };
40 
41 
42 #endif // not ATHENAKERNEL_ICOLLECTIONSIZE_H
ICollectionSize::size
virtual int size()=0
Return the size of the collection.
ICollectionSize
Abstract interface for finding the size of an event collection.
Definition: ICollectionSize.h:26
ICollectionSize::DeclareInterfaceID
DeclareInterfaceID(ICollectionSize, 1, 0)
ICollectionSize::~ICollectionSize
virtual ~ICollectionSize()
Destructor.
Definition: ICollectionSize.h:33