risc::sg::MappedVariable Struct Reference

This is a helper class to describe a variable in the design through the symbol and the instance id. More...

#include <mapped_variable.h>

List of all members.

Public Member Functions

 MappedVariable (SgVariableSymbol *symbol, int instance_id)
 MappedVariable ()
bool is_valid ()
bool operator== (const MappedVariable &ohs)
bool operator!= (const MappedVariable &ohs)

Public Attributes

SgVariableSymbol * symbol_
int instance_id_

Static Public Attributes

static int const InvalidVariable = -2

Detailed Description

This is a helper class to describe a variable in the design through the symbol and the instance id.

instance_id values 0 ... n instance id -1 global variable -2 invalid variable


Constructor & Destructor Documentation

risc::sg::MappedVariable::MappedVariable ( SgVariableSymbol *  symbol,
int  instance_id 
)
risc::sg::MappedVariable::MappedVariable (  ) 

Member Function Documentation

bool risc::sg::MappedVariable::is_valid (  ) 
bool risc::sg::MappedVariable::operator!= ( const MappedVariable ohs  ) 
bool risc::sg::MappedVariable::operator== ( const MappedVariable ohs  ) 

Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2016 by  doxygen 1.6.1