ATLAS Offline Software
ICollectionIndex.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef COLLECTIONBASE_ICOLLECTIONINDEX_H
6 #define COLLECTIONBASE_ICOLLECTIONINDEX_H
7 
8 #include <string>
9 #include <vector>
10 
11 
12 namespace pool {
13 
20  {
21  public:
23  virtual const std::string& name() const = 0;
24 
26  virtual const std::vector<std::string>& columnNames() const = 0;
27 
29  virtual bool isUnique() const = 0;
30 
31  protected:
33  virtual ~ICollectionIndex() {}
34  };
35 
36 }
37 
38 #endif
39 
40 
pool::ICollectionIndex::name
virtual const std::string & name() const =0
Returns the name of the index.
pool
pool namespace
Definition: libname.h:15
pool::ICollectionIndex::~ICollectionIndex
virtual ~ICollectionIndex()
Empty destructor.
Definition: ICollectionIndex.h:33
pool::ICollectionIndex::columnNames
virtual const std::vector< std::string > & columnNames() const =0
Returns the names of all columns on which the index is created.
pool::ICollectionIndex::isUnique
virtual bool isUnique() const =0
Indicates whether the combination of indexed column values must be different for each row.
pool::ICollectionIndex
Definition: ICollectionIndex.h:20