ilasynth  1.0
ILASynth: Template-based ILA Synthesis Engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ilasynth::Choice Struct Reference

#include <choice.hpp>

Public Member Functions

 Choice (const std::string &name, const nptr_vec_t &args)
 
 Choice (const Choice *that, const nptr_vec_t &args_)
 
 ~Choice ()
 
bool equal (const Choice &that) const
 
std::ostream & write (std::ostream &out) const
 
const char * getChoiceVarName (unsigned i) const
 

Static Public Member Functions

static NodeType getChoiceType (const nptr_vec_t &args)
 

Public Attributes

nptr_vec_t args
 
std::vector< std::string > choiceVars
 

Constructor & Destructor Documentation

◆ Choice() [1/2]

ilasynth::Choice::Choice ( const std::string &  name,
const nptr_vec_t args 
)

◆ Choice() [2/2]

ilasynth::Choice::Choice ( const Choice that,
const nptr_vec_t args_ 
)

◆ ~Choice()

ilasynth::Choice::~Choice ( )

Member Function Documentation

◆ equal()

bool ilasynth::Choice::equal ( const Choice that) const

◆ getChoiceType()

static NodeType ilasynth::Choice::getChoiceType ( const nptr_vec_t args)
static

◆ getChoiceVarName()

const char* ilasynth::Choice::getChoiceVarName ( unsigned  i) const
inline

◆ write()

std::ostream& ilasynth::Choice::write ( std::ostream &  out) const

Member Data Documentation

◆ args

nptr_vec_t ilasynth::Choice::args

◆ choiceVars

std::vector<std::string> ilasynth::Choice::choiceVars

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