This is the documentation for Enlighten.
class Geo GeoStringView
template<typename T>
class Geo::GeoStringView
STL string_view replacement.
Functions
Name | Description |
---|---|
GeoStringView() | Constructor. |
GeoStringView(const T *const &) | Constructor. |
GeoStringView(const T *, s32) | Constructor. |
GetCString() | Returns a const raw pointer to the string. |
GetLength() | Returns the length of the string. |
IsEmpty() | Returns true if the string is empty. |
Geo::GeoStringView< T >::GeoStringView
public: GeoStringView()
Constructor.
Geo::GeoStringView< T >::GeoStringView
public: GeoStringView
(
  const T *const & s
)
Constructor.
Geo::GeoStringView< T >::GeoStringView
public: GeoStringView
(
  const T * s,
  s32 length
)
Constructor.
const T* Geo::GeoStringView< T >::GetCString
public: const T * GetCString() const
Returns a const raw pointer to the string.
s32 Geo::GeoStringView< T >::GetLength
public: s32 GetLength() const
Returns the length of the string.
bool Geo::GeoStringView< T >::IsEmpty
public: bool IsEmpty() const
Returns true if the string is empty.