All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
Nektar::ParseUtils::SymbolFunctor Struct Reference
Collaboration diagram for Nektar::ParseUtils::SymbolFunctor:
Collaboration graph

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 207 of file ParseUtils.hpp.

Constructor & Destructor Documentation

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

Definition at line 209 of file ParseUtils.hpp.

209  :
210  m_symbol(symbol)
211  {
212  }

Member Function Documentation

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

Definition at line 214 of file ParseUtils.hpp.

215  {
216  m_symbol->assign(beg, end-beg);
217  }

Member Data Documentation

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

Definition at line 220 of file ParseUtils.hpp.