OpenASIP  2.0
Public Member Functions | List of all members
TPEF::ProcedSymElement Class Reference

#include <ProcedSymElement.hh>

Inheritance diagram for TPEF::ProcedSymElement:
Inheritance graph
Collaboration diagram for TPEF::ProcedSymElement:
Collaboration graph

Public Member Functions

 ProcedSymElement ()
 
virtual ~ProcedSymElement ()
 
virtual SymbolType type () const
 
- Public Member Functions inherited from TPEF::CodeSymElement
 CodeSymElement ()
 
virtual ~CodeSymElement ()
 
InstructionElementreference () const
 
void setReference (InstructionElement *aReference)
 
void setReference (const ReferenceManager::SafePointer *aReference)
 
Word size () const
 
void setSize (Word aSize)
 
- Public Member Functions inherited from TPEF::SymbolElement
 SymbolElement ()
 
virtual ~SymbolElement ()
 
bool absolute () const
 
void setAbsolute (bool anAbsoluteness)
 
SymbolBinding binding () const
 
void setBinding (SymbolBinding aBinding)
 
Chunkname () const
 
void setName (Chunk *aName)
 
void setName (const ReferenceManager::SafePointer *aName)
 
Sectionsection () const
 
void setSection (Section *aSect)
 
void setSection (const ReferenceManager::SafePointer *aSect)
 
- Public Member Functions inherited from TPEF::SectionElement
virtual ~SectionElement ()
 
- Public Member Functions inherited from TPEF::SafePointable
virtual ~SafePointable ()
 

Additional Inherited Members

- Public Types inherited from TPEF::SymbolElement
enum  SymbolBinding { STB_LOCAL = 0x0, STB_GLOBAL = 0x1, STB_WEAK = 0x2 }
 Binding types of symbol. More...
 
enum  SymbolType {
  STT_NOTYPE = 0x0, STT_DATA = 0x1, STT_CODE = 0x2, STT_SECTION = 0x3,
  STT_FILE = 0x4, STT_PROCEDURE = 0x5
}
 Type of symbol element. More...
 
- Protected Member Functions inherited from TPEF::SectionElement
 SectionElement ()
 
- Protected Member Functions inherited from TPEF::SafePointable
 SafePointable ()
 

Detailed Description

Procedure symbol.

Definition at line 45 of file ProcedSymElement.hh.

Constructor & Destructor Documentation

◆ ProcedSymElement()

TPEF::ProcedSymElement::ProcedSymElement ( )

Constructor.

Definition at line 43 of file ProcedSymElement.cc.

43  :
44  CodeSymElement() {
45 }

◆ ~ProcedSymElement()

TPEF::ProcedSymElement::~ProcedSymElement ( )
virtual

Destructor.

Definition at line 50 of file ProcedSymElement.cc.

50  {
51 }

Member Function Documentation

◆ type()

SymbolElement::SymbolType TPEF::ProcedSymElement::type ( ) const
virtual

Returns type of the element.

Returns
Type of the element.

Reimplemented from TPEF::CodeSymElement.

Definition at line 59 of file ProcedSymElement.cc.

59  {
60  return STT_PROCEDURE;
61 }

References TPEF::SymbolElement::STT_PROCEDURE.


The documentation for this class was generated from the following files:
TPEF::SymbolElement::STT_PROCEDURE
@ STT_PROCEDURE
Symbol gives indicates procedure start position in section.
Definition: SymbolElement.hh:73
TPEF::CodeSymElement::CodeSymElement
CodeSymElement()
Definition: CodeSymElement.cc:44