ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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. More...
 

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()

constexpr 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  }

◆ stringSize()

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

Definition at line 37 of file Guid.h.

37 { return StrLen; }

◆ sv()

constexpr 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:
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
Guid::StrLen
static constexpr size_t StrLen
Definition: Guid.h:27
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39