TurtleBrains  0.3.5
High quality, portable, C++ framework for rapid 2D game development.
TurtleBrains::Core::FixedString< Size > Class Template Reference

Public Member Functions

 FixedString (const char *value)
 
 FixedString (const String &value)
 
 FixedString (const FixedString &value)
 
FixedStringoperator= (const FixedString &other)
 
FixedStringoperator= (const String &other)
 
FixedStringoperator= (const char *other)
 
bool operator== (const FixedString &other) const
 
bool operator== (const char *other) const
 
bool operator== (const String &other) const
 
bool operator!= (const FixedString &other) const
 
bool operator!= (const char *other) const
 
bool operator!= (const String &other) const
 
 operator tbCore::String (void) const
 
bool empty (void) const
 
size_t size (void) const
 
size_t FixedSize (void) const
 
const char * data (void) const
 
char * data (void)
 
tbCore::String String (void) const
 

Member Function Documentation

◆ data()

template<size_t Size>
const char* TurtleBrains::Core::FixedString< Size >::data ( void  ) const
inline
Note
This does not return a null-terminated C-style string. Just the raw characters, which may or may not include the null-terminator. Do not depend on the null-terminator being present.