OpenWalnut
1.4.0
|
Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a object or key-value pair. More...
#include <WStructuredTextParser.h>
Public Member Functions | |
bool | operator() (const KeyValueType &) const |
Returns always true as it is only called for key-value pairs. | |
template<typename T > | |
bool | operator() (const T &) const |
Returns always false as it is only called for objects. |
Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a object or key-value pair.
Definition at line 509 of file WStructuredTextParser.h.
bool WStructuredTextParser::IsLeafVisitor::operator() | ( | const KeyValueType & | ) | const [inline] |
Returns always true as it is only called for key-value pairs.
Definition at line 517 of file WStructuredTextParser.h.
bool WStructuredTextParser::IsLeafVisitor::operator() | ( | const T & | ) | const [inline] |
Returns always false as it is only called for objects.
T | the type. Should be WStructuredTextParser::ObjectType or WStructuredTextParser::CommentType |
Definition at line 529 of file WStructuredTextParser.h.