knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Token.h>
Public Member Functions | |
Token (TokenType tokenType) | |
virtual | ~Token ()=default |
TokenType | tokenType () const |
size_t | hash () const |
std::string | stringForm () const |
bool | isControlToken () const |
bool | isAnswerToken () const |
bool | indicatesEndOfEvaluation () const |
void | write (std::ostream &os) const override |
Token (TokenType tokenType) | |
virtual | ~Token ()=default |
TokenType | tokenType () const |
size_t | hash () const |
std::string | stringForm () const |
bool | isControlToken () const |
bool | isAnswerToken () const |
bool | indicatesEndOfEvaluation () const |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Printable | |
virtual | ~Printable ()=default |
virtual std::string | format () const |
virtual | ~Printable ()=default |
virtual std::string | format () const |
Protected Attributes | |
TokenType | tokenType_ |
bool | isTerminalToken_ = false |
|
virtualdefault |
|
virtualdefault |
size_t Token::hash | ( | ) | const |
Definition at line 15 of file Token.cpp.
size_t knowrob::Token::hash | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string Token::stringForm | ( | ) | const |
std::string knowrob::Token::stringForm | ( | ) | const |
|
inline |
|
inline |
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 66 of file Token.h.
|
inlineoverridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 66 of file Token.h.