Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

template<typename T>
class Geo::GeoStringView

STL string_view replacement.

Functions

NameDescription
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
abf461219888be192adabe3f9f416ccdf
abf461219888be192adabe3f9f416ccdf

Geo::GeoStringView< T >::GeoStringView

...

public: GeoStringView()

...

Constructor.


Anchor
a4a1c0d9acb19d74b256ffcd10d8a4f98
a4a1c0d9acb19d74b256ffcd10d8a4f98

Geo::GeoStringView< T >::GeoStringView

...

public: GeoStringView
(
    const T *const & s
)

...

Constructor.


Anchor
ac9e14499eeb445968e735721e51752be
ac9e14499eeb445968e735721e51752be

Geo::GeoStringView< T >::GeoStringView

...

public: GeoStringView
(
    const T * s,
    s32 length
)

...

Constructor.


Anchor
acf4e039ea9e09064675b3c1dca87b536
acf4e039ea9e09064675b3c1dca87b536

const T* Geo::GeoStringView< T >::GetCString

...

public: const T * GetCString() const

...

Returns a const raw pointer to the string.


Anchor
a7ef48272018bc6f13ce7d837c2ec232c
a7ef48272018bc6f13ce7d837c2ec232c

s32 Geo::GeoStringView< T >::GetLength

...

public: s32 GetLength() const

...

Returns the length of the string.


Anchor
a43db94cdb8c719baf4efcd0d932705ce
a43db94cdb8c719baf4efcd0d932705ce

bool Geo::GeoStringView< T >::IsEmpty

...

public: bool IsEmpty() const

...

Returns true if the string is empty.