ATLAS Offline Software
Loading...
Searching...
No Matches
ColumnInfoHelpers.h File Reference

helper functions for working with the type information in columnar::ColumnInfo More...

Include dependency graph for ColumnarInterfaces/ColumnarInterfaces/ColumnInfoHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  columnar

Functions

constexpr bool columnar::isIntegerTypeCategory (ColumnTypeCategory category) noexcept
 whether the category is one of the integer categories (including boolean)
constexpr ColumnTypeCategory columnar::mergeColumnTypeCategory (ColumnTypeCategory a, ColumnTypeCategory b) noexcept
 merge the type categories of two users of the same column (with the same type), the strictest one wins
constexpr bool columnar::isColumnTypeCompatible (ColumnTypeCategory columnCategory, unsigned columnSize, ColumnTypeCategory dataCategory, unsigned dataSize, bool isConst) noexcept
 whether data of the given category and size can be used for a column with the given category and size
constexpr const char * columnar::columnTypeCategoryName (ColumnTypeCategory category) noexcept
 a human readable name for the category (for messages)

Detailed Description

helper functions for working with the type information in columnar::ColumnInfo

Author
Nils Krumnack

These are the helpers that are needed by code that only links against the columnar interfaces (e.g. the tool wrapper), which is why they are here and not in ColumnarCore/ColumnInfoHelpers.h. The helpers needed for defining accessors are in ColumnInfo.h itself.

Definition in file ColumnarInterfaces/ColumnarInterfaces/ColumnInfoHelpers.h.