LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::dwarf::Parameter Class Reference

This class represents a DWARF parameter which can be either: More...

#include <Parameter.hpp>

Inheritance diagram for LIEF::dwarf::Parameter:

Public Types

enum class  KIND { UNKNOWN = 0 , TEMPLATE_TYPE , TEMPLATE_VALUE , FORMAL }
 

Public Member Functions

 Parameter ()=delete
 
 Parameter (Parameter &&other)
 
Parameteroperator= (Parameter &&other)
 
Parameteroperator= (const Parameter &)=delete
 
 Parameter (const Parameter &)=delete
 
KIND kind () const
 
std::string name () const
 Name of the parameter.
 
std::unique_ptr< Typetype () const
 Type of this parameter.
 
template<class T >
const T * as () const
 
virtual ~Parameter ()
 

Static Public Member Functions

static std::unique_ptr< Parametercreate (std::unique_ptr< details::Parameter > impl)
 

Detailed Description

This class represents a DWARF parameter which can be either:

Member Enumeration Documentation

◆ KIND

enum class LIEF::dwarf::Parameter::KIND
strong
Enumerator
UNKNOWN 
TEMPLATE_TYPE 

DW_TAG_template_type_parameter.

TEMPLATE_VALUE 

DW_TAG_template_value_parameter.

FORMAL 

DW_TAG_formal_parameter.

Constructor & Destructor Documentation

◆ Parameter() [1/3]

LIEF::dwarf::Parameter::Parameter ( )
delete

◆ Parameter() [2/3]

LIEF::dwarf::Parameter::Parameter ( Parameter && other)

◆ Parameter() [3/3]

LIEF::dwarf::Parameter::Parameter ( const Parameter & )
delete

◆ ~Parameter()

virtual LIEF::dwarf::Parameter::~Parameter ( )
virtual

Member Function Documentation

◆ as()

template<class T >
const T * LIEF::dwarf::Parameter::as ( ) const
inline

◆ create()

static std::unique_ptr< Parameter > LIEF::dwarf::Parameter::create ( std::unique_ptr< details::Parameter > impl)
static

◆ kind()

◆ name()

std::string LIEF::dwarf::Parameter::name ( ) const

Name of the parameter.

◆ operator=() [1/2]

Parameter & LIEF::dwarf::Parameter::operator= ( const Parameter & )
delete

◆ operator=() [2/2]

Parameter & LIEF::dwarf::Parameter::operator= ( Parameter && other)

◆ type()

std::unique_ptr< Type > LIEF::dwarf::Parameter::type ( ) const

Type of this parameter.


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