OpenWalnut 1.3.1
Public Member Functions
WStructuredTextParser::IsLeafVisitor Class Reference

Visitor to identify whether the given variant of type MemberType is a object or key-value pair. More...

#include <WStructuredTextParser.h>

Inheritance diagram for WStructuredTextParser::IsLeafVisitor:

List of all members.

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.

Detailed Description

Visitor to identify whether the given variant of type MemberType is a object or key-value pair.

Definition at line 508 of file WStructuredTextParser.h.


Member Function Documentation

bool WStructuredTextParser::IsLeafVisitor::operator() ( const KeyValueType ) const [inline]

Returns always true as it is only called for key-value pairs.

Returns:
always true since it identified an key-value pair

Definition at line 516 of file WStructuredTextParser.h.

template<typename T >
bool WStructuredTextParser::IsLeafVisitor::operator() ( const T ) const [inline]

Returns always false as it is only called for objects.

Template Parameters:
Tthe type. Should be ObjectType or CommentType
Returns:
always false since it identified an Object/comment

Definition at line 528 of file WStructuredTextParser.h.


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