OpenWalnut  1.4.0
Public Member Functions
WStructuredTextParser::IsCommentVisitor Class Reference

Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a comment. More...

#include <WStructuredTextParser.h>

+ Inheritance diagram for WStructuredTextParser::IsCommentVisitor:

List of all members.

Public Member Functions

bool operator() (const CommentType &) const
 Returns always true as it is only called for comments.
template<typename T >
bool operator() (const T &) const
 Returns always false as it is only called for objects and key-value pairs.

Detailed Description

Visitor to identify whether the given variant of type WStructuredTextParser::MemberType is a comment.

Definition at line 538 of file WStructuredTextParser.h.


Member Function Documentation

bool WStructuredTextParser::IsCommentVisitor::operator() ( const CommentType ) const [inline]

Returns always true as it is only called for comments.

Returns:
always true

Definition at line 546 of file WStructuredTextParser.h.

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

Returns always false as it is only called for objects and key-value pairs.

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

Definition at line 558 of file WStructuredTextParser.h.


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