DGtal  1.5.beta
DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker Struct Reference
Inheritance diagram for DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker:
[legend]

Public Member Functions

 ExprNodeMaker (MPolynomialReader &reader)
 
void operator() (const detail::monomial_node &mnode)
 
void operator() (const detail::top_node &topnode)
 

Data Fields

Polynomial myP
 
MPolynomialReadermyPR
 

Detailed Description

template<int n, typename TRing, typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
struct DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker

Intermediate structure to define a functor to choose between two possible node types: either a monomial_node or a top_node.

See also
make( const detail::top_node & )

Definition at line 346 of file MPolynomialReader.h.

Constructor & Destructor Documentation

◆ ExprNodeMaker()

template<int n, typename TRing , typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker::ExprNodeMaker ( MPolynomialReader reader)
inline

Definition at line 349 of file MPolynomialReader.h.

350  : myPR( reader )
351  {}

Member Function Documentation

◆ operator()() [1/2]

template<int n, typename TRing , typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
void DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker::operator() ( const detail::monomial_node mnode)
inline

◆ operator()() [2/2]

template<int n, typename TRing , typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
void DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker::operator() ( const detail::top_node topnode)
inline

Field Documentation

◆ myP

template<int n, typename TRing , typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
Polynomial DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker::myP

◆ myPR

template<int n, typename TRing , typename TAlloc = std::allocator<TRing>, typename TIterator = std::string::const_iterator>
MPolynomialReader& DGtal::MPolynomialReader< n, TRing, TAlloc, TIterator >::ExprNodeMaker::myPR

The documentation for this struct was generated from the following file: