Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Internal::TStringView Class Reference

Definition at line 60 of file RStringView.hxx.

Public Member Functions

 TStringView (const char *cstr, size_t len)
 
 operator std::string_view () const
 

Private Attributes

const char * fData {nullptr}
 
size_t fLength {0}
 

#include <ROOT/RStringView.hxx>

Constructor & Destructor Documentation

◆ TStringView()

ROOT::Internal::TStringView::TStringView ( const char *  cstr,
size_t  len 
)
inlineexplicit

Definition at line 65 of file RStringView.hxx.

Member Function Documentation

◆ operator std::string_view()

ROOT::Internal::TStringView::operator std::string_view ( ) const
inline

Definition at line 67 of file RStringView.hxx.

Member Data Documentation

◆ fData

const char* ROOT::Internal::TStringView::fData {nullptr}
private

Definition at line 61 of file RStringView.hxx.

◆ fLength

size_t ROOT::Internal::TStringView::fLength {0}
private

Definition at line 62 of file RStringView.hxx.

Libraries for ROOT::Internal::TStringView:
[legend]

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