Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::string_view Struct Reference
Inheritance diagram for flecs::string_view:
[legend]

Public Member Functions

 string_view (const char *str)
 
- Public Member Functions inherited from flecs::string
 string (char *str)
 
 string (string &&str) noexcept
 
 operator const char * () const
 
stringoperator= (string &&str) noexcept
 
stringoperator= (const string &str)=delete
 
 string (const string &str)=delete
 
bool operator== (const flecs::string &str) const
 
bool operator!= (const flecs::string &str) const
 
bool operator== (const char *str) const
 
bool operator!= (const char *str) const
 
const char * c_str () const
 
std::size_t length () const
 
std::size_t size () const
 
void clear ()
 
bool contains (const char *substr)
 

Additional Inherited Members

- Static Public Member Functions inherited from flecs::string
template<size_t N>
static constexpr size_t length (char const (&)[N])
 
- Protected Member Functions inherited from flecs::string
 string (const char *str)
 
- Protected Attributes inherited from flecs::string
char * str_ = nullptr
 
const char * const_str_
 
ecs_size_t length_
 

Detailed Description

Definition at line 146 of file string.hpp.

Constructor & Destructor Documentation

◆ string_view()

flecs::string_view::string_view ( const char * str)
inlineexplicit

Definition at line 147 of file string.hpp.


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