ilasynth  1.0
ILASynth: Template-based ILA Synthesis Engine
Public Member Functions | Protected Attributes | List of all members
ilasynth::ChoiceExpr< T > Class Template Reference

#include <choice.hpp>

Inheritance diagram for ilasynth::ChoiceExpr< T >:
ilasynth::ReadSlice ilasynth::WriteSlice

Public Member Functions

 ChoiceExpr (const std::string &n_, const nptr_vec_t &args_)
 
virtual ~ChoiceExpr ()
 
virtual Nodeclone () const
 
ChoiceExprclone (const nptr_vec_t &args) const
 
virtual bool equal (const Node *that_) const
 
virtual std::ostream & write (std::ostream &out) const
 
virtual unsigned nArgs () const
 
virtual nptr_t arg (unsigned i) const
 
const char * getChoiceVarName (unsigned i) const
 

Protected Attributes

Choice choice
 

Constructor & Destructor Documentation

◆ ChoiceExpr()

template<typename T>
ilasynth::ChoiceExpr< T >::ChoiceExpr ( const std::string &  n_,
const nptr_vec_t args_ 
)
inline

◆ ~ChoiceExpr()

template<typename T>
virtual ilasynth::ChoiceExpr< T >::~ChoiceExpr ( )
inlinevirtual

Member Function Documentation

◆ arg()

template<typename T>
virtual nptr_t ilasynth::ChoiceExpr< T >::arg ( unsigned  i) const
inlinevirtual

◆ clone() [1/2]

template<typename T>
virtual Node* ilasynth::ChoiceExpr< T >::clone ( ) const
inlinevirtual

Reimplemented in ilasynth::WriteSlice, and ilasynth::ReadSlice.

◆ clone() [2/2]

template<typename T>
ChoiceExpr* ilasynth::ChoiceExpr< T >::clone ( const nptr_vec_t args) const
inline

◆ equal()

template<typename T>
virtual bool ilasynth::ChoiceExpr< T >::equal ( const Node that_) const
inlinevirtual

◆ getChoiceVarName()

template<typename T>
const char* ilasynth::ChoiceExpr< T >::getChoiceVarName ( unsigned  i) const
inline

◆ nArgs()

template<typename T>
virtual unsigned ilasynth::ChoiceExpr< T >::nArgs ( ) const
inlinevirtual

◆ write()

template<typename T>
virtual std::ostream& ilasynth::ChoiceExpr< T >::write ( std::ostream &  out) const
inlinevirtual

Reimplemented in ilasynth::WriteSlice, and ilasynth::ReadSlice.

Member Data Documentation

◆ choice

template<typename T>
Choice ilasynth::ChoiceExpr< T >::choice
protected

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