![]() |
Project
|
#include <cstddef>
#include <cstdint>
#include <memory>
#include <cassert>
#include <cstring>
#include <string>
#include <stdexcept>
#include <climits>
#include <limits>
#include <cerrno>
Go to the source code of this file.
Classes | |
struct | o2::header::internal::NumberOfActiveBits< N > |
get the number of active bits (set to 1) in a bitfield More... | |
struct | o2::header::internal::NumberOfActiveBits< 0 > |
struct | o2::header::internal::TraitsIntType< N > |
select uint type depending on size, default is uint64_t More... | |
struct | o2::header::internal::TraitsIntType< 1 > |
struct | o2::header::internal::TraitsIntType< 2 > |
struct | o2::header::internal::TraitsIntType< 4 > |
struct | o2::header::Descriptor< N > |
struct | o2::header::BaseHeader |
the base header struct Every header type must begin (i.e. derive) with this. Don't use this struct directly. The derived header must initialize BaseHeader fields with appropriate values More... | |
struct | o2::header::DataHeader |
the main header struct More... | |
struct | o2::header::DataIdentifier |
Helper struct to encode origin and description of data. More... | |
struct | o2::header::is_descriptor< T > |
struct | o2::header::is_descriptor< o2::header::Descriptor< S > > |
Namespaces | |
namespace | o2 |
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects | |
namespace | o2::header |
O2 data header classes and API, v0.1. | |
namespace | o2::header::internal |
Typedefs | |
using | o2::header::HeaderType = Descriptor< gSizeHeaderDescriptionString > |
using | o2::header::SerializationMethod = Descriptor< gSizeSerializationMethodString > |
using | o2::header::DataOrigin = Descriptor< gSizeDataOriginString > |
using | o2::header::DataDescription = Descriptor< gSizeDataDescriptionString > |
Functions | |
void | o2::header::hexDump (const char *desc, const void *voidaddr, size_t len, size_t max=0) |
helper function to print a hex/ASCII dump of some memory | |
template<typename T > | |
constexpr T | o2::header::internal::String2__ () |
template<typename T , typename... Targs> | |
constexpr T | o2::header::internal::String2__ (char c, Targs... Fargs) |
template<typename T , int N> | |
constexpr int | o2::header::internal::ArraySize () |
evaluate the array size necessary to hold a N-byte number with type T | |
template<int N> | |
constexpr std::size_t | o2::header::internal::strLength (const char(&str)[N], std::size_t pos=0) |
template<typename T , typename... Targs> | |
constexpr T | o2::header::String2 (char c, Targs... Fargs) |
template<typename T , std::size_t N, std::size_t pos = 0, bool suppressAssert = false> | |
constexpr T | o2::header::String2 (const char(&str)[N]) |
template<typename HeaderType , typename std::enable_if_t< std::is_pointer< HeaderType >::value, int > = 0> | |
auto | o2::header::get (const std::byte *buffer, size_t=0) |
template<typename HeaderType , typename std::enable_if_t< std::is_pointer< HeaderType >::value, int > = 0> | |
auto | o2::header::get (const void *buffer, size_t len=0) |
template<typename T > | |
T | o2::header::strtoui (const char *str, char **str_end, int base) noexcept |
template<typename T > | |
T | o2::header::stoui (const std::string &str, size_t *pos=nullptr, int base=10) |