This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels