#include <GccIntegerAttribute.hpp>


Public Member Functions | |
| GccIntegerAttribute (const std::string &name, int value) | |
| virtual const std::string & | getName () const |
| int | getValue () const |
| void | setValue (int v) |
Private Attributes | |
| std::string | name_ |
| int | value_ |
Definition at line 44 of file GccIntegerAttribute.hpp.
| cfront::GccIntegerAttribute::GccIntegerAttribute | ( | const std::string & | name, | |
| int | value | |||
| ) | [inline] |
Definition at line 46 of file GccIntegerAttribute.hpp.
| virtual const std::string& cfront::GccIntegerAttribute::getName | ( | ) | const [inline, virtual] |
return the name of this information.
Implements cfront::Extension.
Definition at line 49 of file GccIntegerAttribute.hpp.
References name_.
Referenced by cfront::CAnalyzer::setTypeAttribute(), and cfront::CAnalyzer::setVariableAttribute().
| int cfront::GccIntegerAttribute::getValue | ( | ) | const [inline] |
Definition at line 54 of file GccIntegerAttribute.hpp.
References value_.
Referenced by cfront::CAnalyzer::setTypeAttribute().
| void cfront::GccIntegerAttribute::setValue | ( | int | v | ) | [inline] |
std::string cfront::GccIntegerAttribute::name_ [private] |
int cfront::GccIntegerAttribute::value_ [private] |
1.5.6