LIEF: Library to Instrument Executable Formats Version 0.16.0
Loading...
Searching...
No Matches
LIEF::dwarf::parameters::TemplateValue Class Reference

This class represents a template value parameter. More...

#include <Parameter.hpp>

Inheritance diagram for LIEF::dwarf::parameters::TemplateValue:
Collaboration diagram for LIEF::dwarf::parameters::TemplateValue:

Public Member Functions

 ~TemplateValue () override=default
 
 Parameter ()=delete
 
 Parameter (Parameter &&other)
 
 Parameter (const Parameter &)=delete
 
- Public Member Functions inherited from LIEF::dwarf::Parameter
 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 bool classof (const Parameter *P)
 
- Static Public Member Functions inherited from LIEF::dwarf::Parameter
static std::unique_ptr< Parametercreate (std::unique_ptr< details::Parameter > impl)
 

Additional Inherited Members

- Public Types inherited from LIEF::dwarf::Parameter
enum class  KIND { UNKNOWN = 0 , TEMPLATE_TYPE , TEMPLATE_VALUE , FORMAL }
 

Detailed Description

This class represents a template value parameter.

For instance, given this prototype:

template<int X = 5>
void generic();

The function generic has one parameters::TemplateValue parameter: X.

Constructor & Destructor Documentation

◆ ~TemplateValue()

LIEF::dwarf::parameters::TemplateValue::~TemplateValue ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::dwarf::parameters::TemplateValue::classof ( const Parameter * P)
inlinestatic

◆ Parameter() [1/3]

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

◆ Parameter() [2/3]

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

◆ Parameter() [3/3]

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

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