OpenWalnut  1.4.0
Public Member Functions
WStructuredTextParser::IsLeafVisitor Class Reference

Visitor to identify whether the given variant of type WStructuredTextParser::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 WStructuredTextParser::MemberType is a object or key-value pair.

Definition at line 509 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 517 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 WStructuredTextParser::ObjectType or WStructuredTextParser::CommentType
Returns:
always false since it identified an Object/comment

Definition at line 529 of file WStructuredTextParser.h.


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