gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Label Class Reference

#include <hsail_code.hh>

Public Member Functions

 Label ()
 
bool defined ()
 
void checkName (std::string &_name)
 
void define (std::string &_name, int _value)
 
int get ()
 

Public Attributes

std::string name
 
int value
 

Detailed Description

Definition at line 166 of file hsail_code.hh.

Constructor & Destructor Documentation

Label::Label ( )
inline

Definition at line 172 of file hsail_code.hh.

Member Function Documentation

void Label::checkName ( std::string &  _name)
inline

Definition at line 179 of file hsail_code.hh.

References name.

Referenced by define(), and LabelMap::refLabel().

void Label::define ( std::string &  _name,
int  _value 
)
inline

Definition at line 189 of file hsail_code.hh.

References checkName(), defined(), and value.

Referenced by LabelMap::addLabel().

bool Label::defined ( )
inline

Definition at line 176 of file hsail_code.hh.

References value.

Referenced by LabelMap::addLabel(), define(), and get().

int Label::get ( )
inline

Definition at line 198 of file hsail_code.hh.

References defined(), and value.

Member Data Documentation

std::string Label::name

Definition at line 169 of file hsail_code.hh.

Referenced by checkName().

int Label::value

Definition at line 170 of file hsail_code.hh.

Referenced by define(), defined(), and get().


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

Generated on Fri Jun 9 2017 13:04:13 for gem5 by doxygen 1.8.6