Flecs v3.2
A fast entity component system (ECS) for C & C++
No Matches
flecs::string_view Struct Reference
Inheritance diagram for flecs::string_view:

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 * m_str = nullptr
const char * m_const_str
ecs_size_t m_length

Detailed Description

Definition at line 146 of file string.hpp.

Constructor & Destructor Documentation

◆ string_view()

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

Definition at line 147 of file string.hpp.

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