ATLAS Offline Software
ICollectionColumn.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef COLLECTIONBASE_ICOLLECTIONCOLUMN_H
6 #define COLLECTIONBASE_ICOLLECTIONCOLUMN_H
7 
8 #include <string>
9 
10 
11 namespace pool {
12 
19  {
20  public:
22  virtual const std::string& name() const = 0;
23 
25  virtual const std::string& type() const = 0;
26 
28  virtual const std::string& annotation() const = 0;
29 
34  virtual int maxSize() const = 0;
35 
40  virtual bool sizeIsFixed() const = 0;
41 
43  virtual int id() const = 0;
44 
45  protected:
47  virtual ~ICollectionColumn() {}
48  };
49 
50 }
51 
52 #endif
pool::ICollectionColumn::maxSize
virtual int maxSize() const =0
Returns the maximum size of the column data type.
pool::ICollectionColumn::id
virtual int id() const =0
Returns the position of the column in its associated collection fragment.
pool::ICollectionColumn::annotation
virtual const std::string & annotation() const =0
Returns the user annotation for this column.
pool
pool namespace
Definition: libname.h:15
pool::ICollectionColumn::sizeIsFixed
virtual bool sizeIsFixed() const =0
Indicates whether the data type of the column can vary in size.
pool::ICollectionColumn::~ICollectionColumn
virtual ~ICollectionColumn()
Empty destructor.
Definition: ICollectionColumn.h:47
pool::ICollectionColumn::name
virtual const std::string & name() const =0
Returns the name of the column.
pool::ICollectionColumn
Definition: ICollectionColumn.h:19
pool::ICollectionColumn::type
virtual const std::string & type() const =0
Returns the data type of the column.