ilasynth  1.0
ILASynth: Template-based ILA Synthesis Engine
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ilasynth::CppFun Class Reference

#include <cppsimgen.hpp>

Public Member Functions

 CppFun (const std::string &name)
 
 ~CppFun ()
 
bool retSet ()
 

Protected Member Functions

void addArg (const CppVar *arg)
 
void addBody (const std::string &code)
 
void dumpDec (std::ostream &out, const std::string &modelName, const int &indent) const
 
void dumpVarDec (std::ostream &out, const int &indent) const
 
void dumpCode (std::ostream &out, const int &indent) const
 

Protected Attributes

std::string _name
 
std::vector< const CppVar * > _args
 
std::vector< std::string > _codeList
 
std::vector< std::string > _varList
 
CppVar_ret
 
std::vector< std::pair< CppVar *, CppVar * > > _updates
 

Friends

class CppSimGen
 

Constructor & Destructor Documentation

◆ CppFun()

ilasynth::CppFun::CppFun ( const std::string &  name)

◆ ~CppFun()

ilasynth::CppFun::~CppFun ( )

Member Function Documentation

◆ addArg()

void ilasynth::CppFun::addArg ( const CppVar arg)
protected

◆ addBody()

void ilasynth::CppFun::addBody ( const std::string &  code)
protected

◆ dumpCode()

void ilasynth::CppFun::dumpCode ( std::ostream &  out,
const int &  indent 
) const
protected

◆ dumpDec()

void ilasynth::CppFun::dumpDec ( std::ostream &  out,
const std::string &  modelName,
const int &  indent 
) const
protected

◆ dumpVarDec()

void ilasynth::CppFun::dumpVarDec ( std::ostream &  out,
const int &  indent 
) const
protected

◆ retSet()

bool ilasynth::CppFun::retSet ( )
inline

Friends And Related Function Documentation

◆ CppSimGen

friend class CppSimGen
friend

Member Data Documentation

◆ _args

std::vector<const CppVar*> ilasynth::CppFun::_args
protected

◆ _codeList

std::vector<std::string> ilasynth::CppFun::_codeList
protected

◆ _name

std::string ilasynth::CppFun::_name
protected

◆ _ret

CppVar* ilasynth::CppFun::_ret
protected

◆ _updates

std::vector<std::pair<CppVar*, CppVar*> > ilasynth::CppFun::_updates
protected

◆ _varList

std::vector<std::string> ilasynth::CppFun::_varList
protected

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