ATLAS Offline Software
Loading...
Searching...
No Matches
pool::ICollectionColumn Class Referenceabstract

An interface for retrieving a description of a column of a collection. More...

#include <Collection/ICollectionColumn.h>

Inheritance diagram for pool::ICollectionColumn:
Collaboration diagram for pool::ICollectionColumn:

Public Member Functions

virtual const std::string & name () const =0
 Returns the name of the column.
virtual const std::string & type () const =0
 Returns the data type of the column.
virtual int maxSize () const =0
 Returns the maximum size of the column data type.
virtual bool sizeIsFixed () const =0
 Indicates whether the data type of the column can vary in size.
virtual int id () const =0
 Returns the position of the column in its associated collection fragment.

Protected Member Functions

virtual ~ICollectionColumn ()
 Empty destructor.

Detailed Description

An interface for retrieving a description of a column of a collection.

Definition at line 18 of file ICollectionColumn.h.

Constructor & Destructor Documentation

◆ ~ICollectionColumn()

virtual pool::ICollectionColumn::~ICollectionColumn ( )
inlineprotectedvirtual

Empty destructor.

Definition at line 44 of file ICollectionColumn.h.

44{}

Member Function Documentation

◆ id()

virtual int pool::ICollectionColumn::id ( ) const
pure virtual

Returns the position of the column in its associated collection fragment.

Implemented in pool::CollectionColumn.

◆ maxSize()

virtual int pool::ICollectionColumn::maxSize ( ) const
pure virtual

Returns the maximum size of the column data type.

This information is useful for data of type string or blob.

Implemented in pool::CollectionColumn.

◆ name()

virtual const std::string & pool::ICollectionColumn::name ( ) const
pure virtual

Returns the name of the column.

Implemented in pool::CollectionColumn.

◆ sizeIsFixed()

virtual bool pool::ICollectionColumn::sizeIsFixed ( ) const
pure virtual

Indicates whether the data type of the column can vary in size.

This information is useful for data of type string or blob.

Implemented in pool::CollectionColumn.

◆ type()

virtual const std::string & pool::ICollectionColumn::type ( ) const
pure virtual

Returns the data type of the column.

Implemented in pool::CollectionColumn.


The documentation for this class was generated from the following file: