Nektar++
 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
[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.

:
m_symbol(symbol)
{
}

Member Function Documentation

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

Definition at line 167 of file ParseUtils.hpp.

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

Member Data Documentation

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

Definition at line 173 of file ParseUtils.hpp.