ATLAS Offline Software
Loading...
Searching...
No Matches
ICollectionDescription.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_ICOLLECTIONDESCRIPTION_H
6#define COLLECTIONSVC_ICOLLECTIONDESCRIPTION_H
7
8#include <string>
9
10
11namespace pool {
12
14
23 {
24 public:
26
28 virtual const std::string& name() const = 0;
29
31 virtual const std::string& type() const = 0;
32
34 virtual const std::string& connection() const = 0;
35
40 virtual const std::string& eventReferenceColumnName() const = 0;
41
45 virtual int numberOfTokenColumns() const = 0;
46
53 virtual const ICollectionColumn& tokenColumn( int columnId ) const = 0;
54
58 virtual int numberOfAttributeColumns( ) const = 0;
59
66 virtual const ICollectionColumn& attributeColumn( int columnId ) const = 0;
67
68 protected:
71 };
72
73}
74
75#endif
76
An interface for retrieving a description of a column of a collection.
virtual const ICollectionColumn & attributeColumn(int columnId) const =0
Returns a description object for an Attribute column of the collection, given the position of the col...
virtual const std::string & eventReferenceColumnName() const =0
Returns the name reserved for the event reference Token column.
virtual const ICollectionColumn & tokenColumn(int columnId) const =0
Returns a description object for a Token column of the collection, given the position of the column.
virtual ~ICollectionDescription()
Empty destructor.
virtual const std::string & name() const =0
Returns the name of the collection.
virtual const std::string & type() const =0
Returns the storage technology type of the collection.
virtual int numberOfTokenColumns() const =0
Returns the number of Token columns (including the event reference column if it is used)
virtual int numberOfAttributeColumns() const =0
Returns the number of Attribute columns.
virtual const std::string & connection() const =0
Returns the connection to the database containing the collection.
pool namespace
Definition libname.h:15