![]() |
MOS Source Code
|
#include <string_view.hpp>
Public Member Functions | |
basic_string_view (std::nullptr_t)=delete | |
constexpr | basic_string_view () |
constexpr | basic_string_view (const CharT *cs) |
constexpr | basic_string_view (const CharT *s, size_t length) |
const CharT * | data () const |
const CharT & | operator[] (size_t index) const |
size_t | size () const |
constexpr bool | empty () const |
bool | operator== (basic_string_view other) const |
constexpr basic_string_view | substring (size_t start, size_t end=-1) const |
constexpr size_t | find (CharT c) const |
constexpr size_t | find (basic_string_view str) const |
Private Attributes | |
const CharT * | _pointer |
size_t | _length |
Definition at line 46 of file string_view.hpp.
|
delete |
|
inlineconstexpr |
Definition at line 50 of file string_view.hpp.
Referenced by basic_string_view< char >::substring().
|
inlineconstexpr |
Definition at line 51 of file string_view.hpp.
|
inlineconstexpr |
Definition at line 52 of file string_view.hpp.
|
inline |
Definition at line 54 of file string_view.hpp.
Referenced by kmemcache_alloc(), kmemcache_free(), basic_string< char, mos::default_allocator >::operator+=(), basic_string< char, mos::default_allocator >::operator=(), slab_allocate_mem(), and slab_register().
|
inline |
Definition at line 59 of file string_view.hpp.
|
inline |
Definition at line 64 of file string_view.hpp.
Referenced by basic_string< char, mos::default_allocator >::operator+=(), basic_string< char, mos::default_allocator >::operator=(), and slab_allocate_mem().
|
inlineconstexpr |
Definition at line 69 of file string_view.hpp.
Referenced by Process::Process().
|
inline |
Definition at line 74 of file string_view.hpp.
|
inlineconstexpr |
Definition at line 82 of file string_view.hpp.
Referenced by mos::getTypeName().
|
inlineconstexpr |
Definition at line 88 of file string_view.hpp.
Referenced by mos::getTypeName().
|
inlineconstexpr |
Definition at line 98 of file string_view.hpp.
|
private |
Definition at line 109 of file string_view.hpp.
Referenced by basic_string_view< char >::find(), and basic_string_view< char >::operator==().
|
private |
Definition at line 110 of file string_view.hpp.
Referenced by basic_string_view< char >::find(), and basic_string_view< char >::operator==().