OpenASIP
2.0
|
#include <LineNumElement.hh>
Public Member Functions | |
LineNumElement () | |
virtual | ~LineNumElement () |
void | setLineNumber (HalfWord lineNum) |
HalfWord | lineNumber () const |
void | setInstruction (ReferenceManager::SafePointer *aRef) |
void | setInstruction (InstructionElement *aRef) |
InstructionElement * | instruction () const |
Public Member Functions inherited from TPEF::SectionElement | |
virtual | ~SectionElement () |
Public Member Functions inherited from TPEF::SafePointable | |
virtual | ~SafePointable () |
Private Attributes | |
HalfWord | lineNumber_ |
Line number which line in the procedure this element refer. More... | |
const ReferenceManager::SafePointer * | instruction_ |
Instruction element of source line. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TPEF::SectionElement | |
SectionElement () | |
Protected Member Functions inherited from TPEF::SafePointable | |
SafePointable () | |
Line number element.
Definition at line 48 of file LineNumElement.hh.
TPEF::LineNumElement::LineNumElement | ( | ) |
Constructor.
Definition at line 43 of file LineNumElement.cc.
|
virtual |
InstructionElement* TPEF::LineNumElement::instruction | ( | ) | const |
Referenced by TPEF::TPEFLineNumSectionWriter::actualWriteData().
HalfWord TPEF::LineNumElement::lineNumber | ( | ) | const |
Referenced by TPEF::TPEFLineNumSectionWriter::actualWriteData().
void TPEF::LineNumElement::setInstruction | ( | InstructionElement * | aRef | ) |
void TPEF::LineNumElement::setInstruction | ( | ReferenceManager::SafePointer * | aRef | ) |
Referenced by TPEF::TPEFLineNumSectionReader::readData().
void TPEF::LineNumElement::setLineNumber | ( | HalfWord | lineNum | ) |
Referenced by TPEF::TPEFLineNumSectionReader::readData().
|
private |
Instruction element of source line.
Definition at line 64 of file LineNumElement.hh.
|
private |
Line number which line in the procedure this element refer.
Definition at line 62 of file LineNumElement.hh.