Nugget
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
eastl::basic_string_view< T > Class Template Reference

Public Types

typedef basic_string_view< T > this_type
 
typedef T value_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef T * iterator
 
typedef const T * const_iterator
 
typedef eastl::reverse_iterator< iterator > reverse_iterator
 
typedef eastl::reverse_iterator< const_iterator > const_reverse_iterator
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 

Public Member Functions

EA_CONSTEXPR basic_string_view (const basic_string_view &other) EA_NOEXCEPT=default
 
EA_CONSTEXPR basic_string_view (const T *s, size_type count)
 
EA_CONSTEXPR basic_string_view (const T *s)
 
basic_string_viewoperator= (const basic_string_view &view)=default
 
EA_CONSTEXPR const_iterator begin () const EA_NOEXCEPT
 
EA_CONSTEXPR const_iterator cbegin () const EA_NOEXCEPT
 
EA_CONSTEXPR const_iterator end () const EA_NOEXCEPT
 
EA_CONSTEXPR const_iterator cend () const EA_NOEXCEPT
 
EA_CONSTEXPR const_reverse_iterator rbegin () const EA_NOEXCEPT
 
EA_CONSTEXPR const_reverse_iterator crbegin () const EA_NOEXCEPT
 
EA_CONSTEXPR const_reverse_iterator rend () const EA_NOEXCEPT
 
EA_CONSTEXPR const_reverse_iterator crend () const EA_NOEXCEPT
 
EA_CONSTEXPR const_pointer data () const
 
EA_CONSTEXPR const_reference front () const
 
EA_CONSTEXPR const_reference back () const
 
EA_CONSTEXPR const_reference operator[] (size_type pos) const
 
EA_CPP14_CONSTEXPR const_reference at (size_type pos) const
 
EA_CONSTEXPR size_type size () const EA_NOEXCEPT
 
EA_CONSTEXPR size_type length () const EA_NOEXCEPT
 
EA_CONSTEXPR size_type max_size () const EA_NOEXCEPT
 
EA_CONSTEXPR bool empty () const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR void swap (basic_string_view &v)
 
EA_CPP14_CONSTEXPR void remove_prefix (size_type n)
 
EA_CPP14_CONSTEXPR void remove_suffix (size_type n)
 
size_type copy (T *pDestination, size_type count, size_type pos=0) const
 
EA_CPP14_CONSTEXPR basic_string_view substr (size_type pos=0, size_type count=npos) const
 
EA_CPP14_CONSTEXPR int compare (basic_string_view sw) const EA_NOEXCEPT
 
EA_CONSTEXPR int compare (size_type pos1, size_type count1, basic_string_view sw) const
 
EA_CONSTEXPR int compare (size_type pos1, size_type count1, basic_string_view sw, size_type pos2, size_type count2) const
 
EA_CONSTEXPR int compare (const T *s) const
 
EA_CONSTEXPR int compare (size_type pos1, size_type count1, const T *s) const
 
EA_CONSTEXPR int compare (size_type pos1, size_type count1, const T *s, size_type count2) const
 
EA_CPP14_CONSTEXPR size_type find (basic_string_view sw, size_type pos=0) const EA_NOEXCEPT
 
EA_CONSTEXPR size_type find (T c, size_type pos=0) const EA_NOEXCEPT
 
EA_CONSTEXPR size_type find (const T *s, size_type pos, size_type count) const
 
EA_CONSTEXPR size_type find (const T *s, size_type pos=0) const
 
EA_CONSTEXPR size_type rfind (basic_string_view sw, size_type pos=npos) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type rfind (T c, size_type pos=npos) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type rfind (const T *s, size_type pos, size_type n) const
 
EA_CONSTEXPR size_type rfind (const T *s, size_type pos=npos) const
 
EA_CONSTEXPR size_type find_first_of (basic_string_view sw, size_type pos=0) const EA_NOEXCEPT
 
EA_CONSTEXPR size_type find_first_of (T c, size_type pos=0) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_first_of (const T *s, size_type pos, size_type n) const
 
EA_CONSTEXPR size_type find_first_of (const T *s, size_type pos=0) const
 
EA_CONSTEXPR size_type find_last_of (basic_string_view sw, size_type pos=npos) const EA_NOEXCEPT
 
EA_CONSTEXPR size_type find_last_of (T c, size_type pos=npos) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_last_of (const T *s, size_type pos, size_type n) const
 
EA_CONSTEXPR size_type find_last_of (const T *s, size_type pos=npos) const
 
EA_CONSTEXPR size_type find_first_not_of (basic_string_view sw, size_type pos=0) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_first_not_of (T c, size_type pos=0) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_first_not_of (const T *s, size_type pos, size_type n) const
 
EA_CONSTEXPR size_type find_first_not_of (const T *s, size_type pos=0) const
 
EA_CONSTEXPR size_type find_last_not_of (basic_string_view sw, size_type pos=npos) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_last_not_of (T c, size_type pos=npos) const EA_NOEXCEPT
 
EA_CPP14_CONSTEXPR size_type find_last_not_of (const T *s, size_type pos, size_type n) const
 
EA_CONSTEXPR size_type find_last_not_of (const T *s, size_type pos=npos) const
 
EA_CONSTEXPR bool starts_with (basic_string_view x) const EA_NOEXCEPT
 
EA_CONSTEXPR bool starts_with (T x) const EA_NOEXCEPT
 
EA_CONSTEXPR bool starts_with (const T *s) const
 
EA_CONSTEXPR bool ends_with (basic_string_view x) const EA_NOEXCEPT
 
EA_CONSTEXPR bool ends_with (T x) const EA_NOEXCEPT
 
EA_CONSTEXPR bool ends_with (const T *s) const
 

Static Public Member Functions

static EA_CPP14_CONSTEXPR int compare (const T *pBegin1, const T *pEnd1, const T *pBegin2, const T *pEnd2)
 

Static Public Attributes

static const EA_CONSTEXPR size_type npos = size_type(-1)
 

Protected Attributes

const_pointer mpBegin = nullptr
 
size_type mnCount = 0
 

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