sead
Loading...
Searching...
No Matches
sead::SafeStringBase< CharType >::token_iterator Class Reference

#include <seadSafeString.h>

Inherits sead::SafeStringBase< CharType >::iterator.

Public Member Functions

 token_iterator (const SafeStringBase *str, const SafeStringBase &delimiter)
 token_iterator (const SafeStringBase *str, s32 idx, const SafeStringBase &delimiter)
virtual ~token_iterator ()
token_iteratoroperator++ ()
token_iteratoroperator-- ()
s32 get (BufferedSafeStringBase< CharType > *out) const
s32 getAndForward (BufferedSafeStringBase< CharType > *out)
Public Member Functions inherited from sead::SafeStringBase< CharType >::iterator
 iterator (const SafeStringBase< CharType > *str)
 iterator (const SafeStringBase< CharType > *str, s32 idx)
virtual ~iterator ()
iteratoroperator++ ()
iteratoroperator-- ()
const CharType & operator* () const
s32 getIndex () const

Private Attributes

SafeStringBase mDelimiter

Additional Inherited Members

Protected Attributes inherited from sead::SafeStringBase< CharType >::iterator
const SafeStringBasemString
s32 mIndex

Constructor & Destructor Documentation

◆ token_iterator() [1/2]

template<typename CharType>
sead::SafeStringBase< CharType >::token_iterator::token_iterator ( const SafeStringBase * str,
const SafeStringBase & delimiter )
inline

◆ token_iterator() [2/2]

template<typename CharType>
sead::SafeStringBase< CharType >::token_iterator::token_iterator ( const SafeStringBase * str,
s32 idx,
const SafeStringBase & delimiter )
inline

◆ ~token_iterator()

template<typename CharType>
virtual sead::SafeStringBase< CharType >::token_iterator::~token_iterator ( )
inlinevirtual

Member Function Documentation

◆ operator++()

template<typename CharType>
token_iterator & sead::SafeStringBase< CharType >::token_iterator::operator++ ( )
inline

◆ operator--()

template<typename CharType>
token_iterator & sead::SafeStringBase< CharType >::token_iterator::operator-- ( )
inline

◆ get()

template<typename CharType>
s32 sead::SafeStringBase< CharType >::token_iterator::get ( BufferedSafeStringBase< CharType > * out) const
inline

◆ getAndForward()

template<typename CharType>
s32 sead::SafeStringBase< CharType >::token_iterator::getAndForward ( BufferedSafeStringBase< CharType > * out)
inline

Member Data Documentation

◆ mDelimiter

template<typename CharType>
SafeStringBase sead::SafeStringBase< CharType >::token_iterator::mDelimiter
private