ATLAS Offline Software
Loading...
Searching...
No Matches
ICollectionColumn.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef COLLECTIONSVC_ICOLLECTIONCOLUMN_H
6#define COLLECTIONSVC_ICOLLECTIONCOLUMN_H
7
8#include <string>
9
10
11namespace pool {
12
19 {
20 public:
22 virtual const std::string& name() const = 0;
23
25 virtual const std::string& type() const = 0;
26
31 virtual int maxSize() const = 0;
32
37 virtual bool sizeIsFixed() const = 0;
38
40 virtual int id() const = 0;
41
42 protected:
44 virtual ~ICollectionColumn() {}
45 };
46
47}
48
49#endif
An interface for retrieving a description of a column of a collection.
virtual int id() const =0
Returns the position of the column in its associated collection fragment.
virtual bool sizeIsFixed() const =0
Indicates whether the data type of the column can vary in size.
virtual const std::string & type() const =0
Returns the data type of the column.
virtual ~ICollectionColumn()
Empty destructor.
virtual const std::string & name() const =0
Returns the name of the column.
virtual int maxSize() const =0
Returns the maximum size of the column data type.
pool namespace
Definition libname.h:15