Nektar++
|
Helper functors for holding a vector of numbers to be parsed by boost::spirit. More...
Public Member Functions | |
PushBackFunctor (std::vector< T > &in) | |
void | operator() (T num) const |
Pushes back values onto m_vec as given by num . More... | |
void | operator() (fusion::vector< T, T > num) const |
Pushes back values onto m_vec between the range supplied by num . Valid for only integer types. More... | |
Private Attributes | |
std::vector< T > & | m_vec |
Storage vector that will hold parsed variables from boost::spirit. More... | |
Helper functors for holding a vector of numbers to be parsed by boost::spirit.
Definition at line 55 of file ParseUtils.cpp.
|
inline |
Definition at line 57 of file ParseUtils.cpp.
|
inline |
Pushes back values onto m_vec between the range supplied by num
. Valid for only integer types.
Definition at line 73 of file ParseUtils.cpp.
References Nektar::PushBackFunctor< T >::m_vec.
|
inline |
Pushes back values onto m_vec as given by num
.
Definition at line 64 of file ParseUtils.cpp.
References Nektar::PushBackFunctor< T >::m_vec.
|
private |
Storage vector that will hold parsed variables from boost::spirit.
Definition at line 84 of file ParseUtils.cpp.
Referenced by Nektar::PushBackFunctor< T >::operator()().