Nektar++
Public Member Functions | Private Attributes | List of all members
Nektar::ParseUtils::SymbolFunctor Struct Reference
Collaboration diagram for Nektar::ParseUtils::SymbolFunctor:
Collaboration graph
[legend]

Public Member Functions

 SymbolFunctor (std::string *symbol)
 
void operator() (const char *beg, const char *end) const
 

Private Attributes

std::string * m_symbol
 

Detailed Description

Definition at line 160 of file ParseUtils.hpp.

Constructor & Destructor Documentation

Nektar::ParseUtils::SymbolFunctor::SymbolFunctor ( std::string *  symbol)
inline

Definition at line 162 of file ParseUtils.hpp.

162  :
163  m_symbol(symbol)
164  {
165  }

Member Function Documentation

void Nektar::ParseUtils::SymbolFunctor::operator() ( const char *  beg,
const char *  end 
) const
inline

Definition at line 167 of file ParseUtils.hpp.

168  {
169  m_symbol->assign(beg, end-beg);
170  }

Member Data Documentation

std::string* Nektar::ParseUtils::SymbolFunctor::m_symbol
private

Definition at line 173 of file ParseUtils.hpp.