This is the documentation for Enlighten.

class Geo GeoTokenList

template<typename T>
class Geo::GeoTokenList

A basic replacement for 'strtok'.

It just builds a list of tokens from a given string, chopped up by a set of delimiters.

Functions

Name Description
GeoTokenList(const T *, const T *)

Creates a GeoTokenList which splits the given string on the given delimiters.

GetSize()

Gets the number of tokens.

operator[](s32)

Gets the token at the given index.


Geo::GeoTokenList< T >::GeoTokenList


public: GeoTokenList
(
    const T * str,
    const T * delims
)


Creates a GeoTokenList which splits the given string on the given delimiters.


s32 Geo::GeoTokenList< T >::GetSize


public: s32 GetSize() const


Gets the number of tokens.


const T* Geo::GeoTokenList< T >::operator[]


public: const T * operator[]
(
    s32 idx
) const


Gets the token at the given index.