LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
15#ifndef LIEF_DWARF_PARAMETER_H
16#define LIEF_DWARF_PARAMETER_H
51 std::string
name()
const;
54 std::unique_ptr<Type>
type()
const;
60 if (T::classof(
this)) {
61 return static_cast<const T*
>(
this);
69 std::unique_ptr<Parameter>
create(std::unique_ptr<details::Parameter> impl);
72 Parameter(std::unique_ptr<details::Parameter> impl);
73 std::unique_ptr<details::Parameter> impl_;
93 using Parameter::Parameter;
95 return P->
kind() == Parameter::KIND::FORMAL;
114 using Parameter::Parameter;
116 return P->
kind() == Parameter::KIND::TEMPLATE_VALUE;
134 using Parameter::Parameter;
136 return P->
kind() == Parameter::KIND::TEMPLATE_TYPE;
This class represents a DWARF parameter which can be either:
Definition Parameter.hpp:36
std::string name() const
Name of the parameter.
Parameter(Parameter &&other)
Parameter & operator=(Parameter &&other)
static std::unique_ptr< Parameter > create(std::unique_ptr< details::Parameter > impl)
std::unique_ptr< Type > type() const
Type of this parameter.
Parameter(const Parameter &)=delete
const T * as() const
Definition Parameter.hpp:59
Parameter & operator=(const Parameter &)=delete
This class represents a DWARF Type which includes:
Definition DWARF/Type.hpp:64
This class represents a template type parameter.
Definition Parameter.hpp:132
~TemplateType() override=default
static bool classof(const Parameter *P)
Definition Parameter.hpp:135
This class represents a template value parameter.
Definition Parameter.hpp:112
~TemplateValue() override=default
static bool classof(const Parameter *P)
Definition Parameter.hpp:115
Definition DWARF/CompilationUnit.hpp:30
Definition Parameter.hpp:76
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42