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-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: ICollectionSize.h,v 1.1 2005-05-05 00:15:02 calaf Exp $
15 #ifndef ATHENAKERNEL_ICOLLECTIONSIZE_H
16 #define ATHENAKERNEL_ICOLLECTIONSIZE_H
17 
18 
19 #include "GaudiKernel/StatusCode.h"
20 #include "GaudiKernel/INamedInterface.h"
21 
22 
23 static const InterfaceID IID_ICollectionSize("ICollectionSize", 1 , 0);
24 
25 
31 {
32 public:
36  virtual ~ICollectionSize () {};
37 
38 
39  static const InterfaceID& interfaceID() { return IID_ICollectionSize; }
40 
41 
45  virtual int size () = 0;
46 };
47 
48 
49 #endif // not ATHENAKERNEL_ICOLLECTIONSIZE_H
ICollectionSize::size
virtual int size()=0
Return the size of the collection.
ICollectionSize::interfaceID
static const InterfaceID & interfaceID()
Definition: ICollectionSize.h:39
ICollectionSize
Abstract interface for finding the size of an event collection.
Definition: ICollectionSize.h:31
ICollectionSize::~ICollectionSize
virtual ~ICollectionSize()
Destructor.
Definition: ICollectionSize.h:36