ATLAS Offline Software
Loading...
Searching...
No Matches
Guid::string Class Reference

A class designed to facilitate exchange of Guid::string objects without additional allocations. More...

#include <Guid.h>

Inheritance diagram for Guid::string:
Collaboration diagram for Guid::string:

Public Member Functions

constexpr operator std::string_view () const
constexpr std::string_view sv () const

Static Public Member Functions

static constexpr int stringSize ()

Public Attributes

elements
 STL member.

Detailed Description

A class designed to facilitate exchange of Guid::string objects without additional allocations.

Definition at line 31 of file Guid.h.

Member Function Documentation

◆ operator std::string_view()

Guid::string::operator std::string_view ( ) const
inlineconstexpr

Definition at line 33 of file Guid.h.

33 {
34 return std::string_view(data(), size());
35 }
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11

◆ stringSize()

constexpr int Guid::string::stringSize ( )
inlinestaticconstexpr

Definition at line 37 of file Guid.h.

37{ return StrLen; }
static constexpr size_t StrLen
Definition Guid.h:27

◆ sv()

std::string_view Guid::string::sv ( ) const
inlineconstexpr

Definition at line 36 of file Guid.h.

36{return std::string_view(data(), size());}

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.


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