Tenncor
Public Member Functions | Public Attributes | List of all members
opt::VoterArg Struct Referencefinal

Argument voter for functors. More...

#include <ivoter.hpp>

Public Member Functions

 VoterArg (std::string label, teq::CoordptrT shaper, teq::CoordptrT coorder, SUBGRAPH_TYPE type)
 
bool match (CtxsT &ctxs, const CandArg &arg) const
 Return true if arg matches this only add to ctxs if matches. More...
 

Public Attributes

std::string label_
 Argument node identifier. More...
 
teq::CoordptrT shaper_
 Converted shape mapper. More...
 
teq::CoordptrT coorder_
 Converted coordinate mapping meta-structure. More...
 
SUBGRAPH_TYPE type_
 Subgraph type of the argument. More...
 

Detailed Description

Argument voter for functors.

Constructor & Destructor Documentation

◆ VoterArg()

opt::VoterArg::VoterArg ( std::string  label,
teq::CoordptrT  shaper,
teq::CoordptrT  coorder,
SUBGRAPH_TYPE  type 
)
inline

Member Function Documentation

◆ match()

bool opt::VoterArg::match ( CtxsT ctxs,
const CandArg arg 
) const
inline

Return true if arg matches this only add to ctxs if matches.

Member Data Documentation

◆ coorder_

teq::CoordptrT opt::VoterArg::coorder_

Converted coordinate mapping meta-structure.

◆ label_

std::string opt::VoterArg::label_

Argument node identifier.

◆ shaper_

teq::CoordptrT opt::VoterArg::shaper_

Converted shape mapper.

◆ type_

SUBGRAPH_TYPE opt::VoterArg::type_

Subgraph type of the argument.


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