TrinityCore
HyperlinkDataTokenizer Class Reference

Public Member Functions

 HyperlinkDataTokenizer (std::string_view str, bool allowEmptyTokens=false)
 
template<typename T >
bool TryConsumeTo (T &val)
 
bool IsEmpty () const
 

Private Attributes

std::string_view _str
 
bool _allowEmptyTokens
 

Detailed Description

Definition at line 28 of file HyperlinkTags.cpp.

Constructor & Destructor Documentation

◆ HyperlinkDataTokenizer()

HyperlinkDataTokenizer::HyperlinkDataTokenizer ( std::string_view  str,
bool  allowEmptyTokens = false 
)
inline

Definition at line 31 of file HyperlinkTags.cpp.

Member Function Documentation

◆ IsEmpty()

bool HyperlinkDataTokenizer::IsEmpty ( ) const
inline

Definition at line 65 of file HyperlinkTags.cpp.

+ Here is the caller graph for this function:

◆ TryConsumeTo()

template<typename T >
bool HyperlinkDataTokenizer::TryConsumeTo ( T &  val)
inline

Definition at line 34 of file HyperlinkTags.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _allowEmptyTokens

bool HyperlinkDataTokenizer::_allowEmptyTokens
private

Definition at line 69 of file HyperlinkTags.cpp.

◆ _str

std::string_view HyperlinkDataTokenizer::_str
private

Definition at line 68 of file HyperlinkTags.cpp.


The documentation for this class was generated from the following file: