Visitor to query the m_name member of ObjectType and KeyValueType.
More...
#include <WStructuredTextParser.h>
Public Member Functions |
std::string | operator() (const CommentType &) const |
| Comments have no name.
|
template<typename T > |
std::string | operator() (const T &element) const |
| Returns the m_name member of the specified object or key-valuev pair.
|
Detailed Description
Visitor to query the m_name member of ObjectType and KeyValueType.
Definition at line 566 of file WStructuredTextParser.h.
Member Function Documentation
std::string WStructuredTextParser::NameQueryVisitor::operator() |
( |
const CommentType & |
| ) |
const |
|
inline |
template<typename T >
std::string WStructuredTextParser::NameQueryVisitor::operator() |
( |
const T & |
element | ) |
const |
|
inline |
Returns the m_name member of the specified object or key-valuev pair.
- Parameters
-
- Template Parameters
-
- Returns
- always true since it identified an key-value pair
Definition at line 588 of file WStructuredTextParser.h.
The documentation for this class was generated from the following file: