Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
cx::basic_string_view< T > Class Template Reference

template<typename T>
class cx::basic_string_view< T >

Definition at line 779 of file wildcards.hpp.

Public Types

using value_type = T

Public Member Functions

constexpr basic_string_view ()=default
constexpr basic_string_view (const T *str, std::size_t s)
template<std::size_t N>
constexpr basic_string_view (const T(&str)[N])
constexpr const T * begin () const
constexpr const T * cbegin () const
constexpr const T * cend () const
constexpr const T * data () const
constexpr bool empty () const
constexpr const T * end () const
constexpr std::size_t size () const

Private Attributes

const T * data_ {nullptr}
std::size_t size_ {0}

#include </home/stephan/code/root-2/main/src/wildcards.hpp>

Member Typedef Documentation

◆ value_type

template<typename T>
using cx::basic_string_view< T >::value_type = T

Definition at line 781 of file wildcards.hpp.

Constructor & Destructor Documentation

◆ basic_string_view() [1/3]

template<typename T>
cx::basic_string_view< T >::basic_string_view ( )
constexprdefault

◆ basic_string_view() [2/3]

template<typename T>
template<std::size_t N>
cx::basic_string_view< T >::basic_string_view ( const T(&) str[N])
inlineconstexpr

Definition at line 784 of file wildcards.hpp.

◆ basic_string_view() [3/3]

template<typename T>
cx::basic_string_view< T >::basic_string_view ( const T * str,
std::size_t s )
inlineconstexpr

Definition at line 787 of file wildcards.hpp.

Member Function Documentation

◆ begin()

template<typename T>
const T * cx::basic_string_view< T >::begin ( ) const
inlineconstexpr

Definition at line 791 of file wildcards.hpp.

◆ cbegin()

template<typename T>
const T * cx::basic_string_view< T >::cbegin ( ) const
inlineconstexpr

Definition at line 792 of file wildcards.hpp.

◆ cend()

template<typename T>
const T * cx::basic_string_view< T >::cend ( ) const
inlineconstexpr

Definition at line 794 of file wildcards.hpp.

◆ data()

template<typename T>
const T * cx::basic_string_view< T >::data ( ) const
inlineconstexpr

Definition at line 788 of file wildcards.hpp.

◆ empty()

template<typename T>
bool cx::basic_string_view< T >::empty ( ) const
inlineconstexpr

Definition at line 790 of file wildcards.hpp.

◆ end()

template<typename T>
const T * cx::basic_string_view< T >::end ( ) const
inlineconstexpr

Definition at line 793 of file wildcards.hpp.

◆ size()

template<typename T>
std::size_t cx::basic_string_view< T >::size ( ) const
inlineconstexpr

Definition at line 789 of file wildcards.hpp.

Member Data Documentation

◆ data_

template<typename T>
const T* cx::basic_string_view< T >::data_ {nullptr}
private

Definition at line 797 of file wildcards.hpp.

◆ size_

template<typename T>
std::size_t cx::basic_string_view< T >::size_ {0}
private

Definition at line 798 of file wildcards.hpp.

Collaboration diagram for cx::basic_string_view< T >:
[legend]

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