IOSS 2.0
Loading...
Searching...
No Matches
Ioss::glob::Token< charT > Class Template Reference

#include <Ioss_Glob.h>

Public Member Functions

 Token (TokenKind kind)
 
 Token (TokenKind kind, charT value)
 
TokenKind Kind () const
 
charT Value () const
 
bool operator== (TokenKind kind)
 
bool operator== (TokenKind kind) const
 
bool operator!= (TokenKind kind)
 
bool operator!= (TokenKind kind) const
 

Private Attributes

TokenKind kind_
 
charT value_ {}
 

Friends

template<class charU >
std::ostream & operator<< (std::ostream &stream, const Token< charU > &token)
 

Constructor & Destructor Documentation

◆ Token() [1/2]

template<class charT >
Ioss::glob::Token< charT >::Token ( TokenKind kind)
inlineexplicit

◆ Token() [2/2]

template<class charT >
Ioss::glob::Token< charT >::Token ( TokenKind kind,
charT value )
inline

Member Function Documentation

◆ Kind()

template<class charT >
TokenKind Ioss::glob::Token< charT >::Kind ( ) const
inline

◆ operator!=() [1/2]

template<class charT >
bool Ioss::glob::Token< charT >::operator!= ( TokenKind kind)
inline

◆ operator!=() [2/2]

template<class charT >
bool Ioss::glob::Token< charT >::operator!= ( TokenKind kind) const
inline

◆ operator==() [1/2]

template<class charT >
bool Ioss::glob::Token< charT >::operator== ( TokenKind kind)
inline

◆ operator==() [2/2]

template<class charT >
bool Ioss::glob::Token< charT >::operator== ( TokenKind kind) const
inline

◆ Value()

template<class charT >
charT Ioss::glob::Token< charT >::Value ( ) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<class charT >
template<class charU >
std::ostream & operator<< ( std::ostream & stream,
const Token< charU > & token )
friend

Member Data Documentation

◆ kind_

template<class charT >
TokenKind Ioss::glob::Token< charT >::kind_
private

◆ value_

template<class charT >
charT Ioss::glob::Token< charT >::value_ {}
private

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