Public Types | Public Member Functions | Private Attributes | List of all members
cx::basic_string_view< T > Class Template Reference

#include <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}
 

Detailed Description

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

Definition at line 1659 of file wildcards.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 1662 of file wildcards.hpp.

Constructor & Destructor Documentation

◆ basic_string_view() [1/3]

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

◆ basic_string_view() [2/3]

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

Definition at line 1665 of file wildcards.hpp.

◆ basic_string_view() [3/3]

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

Definition at line 1668 of file wildcards.hpp.

Member Function Documentation

◆ begin()

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

Definition at line 1683 of file wildcards.hpp.

◆ cbegin()

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

Definition at line 1687 of file wildcards.hpp.

◆ cend()

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

Definition at line 1695 of file wildcards.hpp.

◆ data()

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

Definition at line 1671 of file wildcards.hpp.

◆ empty()

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

Definition at line 1679 of file wildcards.hpp.

◆ end()

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

Definition at line 1691 of file wildcards.hpp.

◆ size()

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

Definition at line 1675 of file wildcards.hpp.

Member Data Documentation

◆ data_

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

Definition at line 1700 of file wildcards.hpp.

◆ size_

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

Definition at line 1701 of file wildcards.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09