OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
TPEF::LineNumElement Class Reference

#include <LineNumElement.hh>

Inheritance diagram for TPEF::LineNumElement:
Inheritance graph
Collaboration diagram for TPEF::LineNumElement:
Collaboration graph

Public Member Functions

 LineNumElement ()
 
virtual ~LineNumElement ()
 
void setLineNumber (HalfWord lineNum)
 
HalfWord lineNumber () const
 
void setInstruction (ReferenceManager::SafePointer *aRef)
 
void setInstruction (InstructionElement *aRef)
 
InstructionElementinstruction () 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::SafePointerinstruction_
 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 ()
 

Detailed Description

Line number element.

Definition at line 48 of file LineNumElement.hh.

Constructor & Destructor Documentation

◆ LineNumElement()

TPEF::LineNumElement::LineNumElement ( )

Constructor.

Definition at line 43 of file LineNumElement.cc.

◆ ~LineNumElement()

TPEF::LineNumElement::~LineNumElement ( )
virtual

Destructor.

Definition at line 50 of file LineNumElement.cc.

50  {
51 }

Member Function Documentation

◆ instruction()

InstructionElement* TPEF::LineNumElement::instruction ( ) const

◆ lineNumber()

HalfWord TPEF::LineNumElement::lineNumber ( ) const

◆ setInstruction() [1/2]

void TPEF::LineNumElement::setInstruction ( InstructionElement aRef)

◆ setInstruction() [2/2]

void TPEF::LineNumElement::setInstruction ( ReferenceManager::SafePointer aRef)

◆ setLineNumber()

void TPEF::LineNumElement::setLineNumber ( HalfWord  lineNum)

Member Data Documentation

◆ instruction_

const ReferenceManager::SafePointer* TPEF::LineNumElement::instruction_
private

Instruction element of source line.

Definition at line 64 of file LineNumElement.hh.

◆ lineNumber_

HalfWord TPEF::LineNumElement::lineNumber_
private

Line number which line in the procedure this element refer.

Definition at line 62 of file LineNumElement.hh.


The documentation for this class was generated from the following files:
TPEF::LineNumElement::instruction_
const ReferenceManager::SafePointer * instruction_
Instruction element of source line.
Definition: LineNumElement.hh:64
TPEF::SectionElement::SectionElement
SectionElement()
Definition: SectionElement.cc:41
TPEF::ReferenceManager::SafePointer::null
static const SafePointer null
The default SafePointer that is used in null references.
Definition: SafePointer.hh:229
TPEF::LineNumElement::lineNumber_
HalfWord lineNumber_
Line number which line in the procedure this element refer.
Definition: LineNumElement.hh:62