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. |
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoStringView< T >::GeoStringView
...
public: GeoStringView()
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoStringView< T >::GeoStringView
...
public: GeoStringView
(
const T *const & s
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoStringView< T >::GeoStringView
...
public: GeoStringView
(
const T * s,
s32 length
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
const T* Geo::GeoStringView< T >::GetCString
...
public: const T * GetCString() const
...
Returns a const raw pointer to the string.
Anchor | ||||
---|---|---|---|---|
|
s32 Geo::GeoStringView< T >::GetLength
...
public: s32 GetLength() const
...
Returns the length of the string.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoStringView< T >::IsEmpty
...
public: bool IsEmpty() const
...
Returns true if the string is empty.