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

#include <NoTypeSymElement.hh>

Inheritance diagram for TPEF::NoTypeSymElement:
Inheritance graph
Collaboration diagram for TPEF::NoTypeSymElement:
Collaboration graph

Public Member Functions

 NoTypeSymElement ()
 
virtual ~NoTypeSymElement ()
 
virtual SymbolType type () const
 
- 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

No type symbol element.

Definition at line 44 of file NoTypeSymElement.hh.

Constructor & Destructor Documentation

◆ NoTypeSymElement()

TPEF::NoTypeSymElement::NoTypeSymElement ( )

Constructor.

Definition at line 41 of file NoTypeSymElement.cc.

41  : SymbolElement() {
42  setAbsolute(true);
43 }

References TPEF::SymbolElement::setAbsolute().

Here is the call graph for this function:

◆ ~NoTypeSymElement()

TPEF::NoTypeSymElement::~NoTypeSymElement ( )
virtual

Destructor.

Definition at line 48 of file NoTypeSymElement.cc.

48  {
49 }

Member Function Documentation

◆ type()

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

Returns type of the element.

Returns
Type of the element.

Implements TPEF::SymbolElement.

Definition at line 57 of file NoTypeSymElement.cc.

57  {
58  return STT_NOTYPE;
59 }

References TPEF::SymbolElement::STT_NOTYPE.


The documentation for this class was generated from the following files:
TPEF::SymbolElement::SymbolElement
SymbolElement()
Definition: SymbolElement.cc:46
TPEF::SymbolElement::setAbsolute
void setAbsolute(bool anAbsoluteness)
TPEF::SymbolElement::STT_NOTYPE
@ STT_NOTYPE
Type is not defined.
Definition: SymbolElement.hh:67