LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Class which represents a DEX method prototype. More...
#include <Prototype.hpp>
Public Types | |
using | parameters_type_t = std::vector<Type*> |
using | it_params = ref_iterator<parameters_type_t> |
using | it_const_params = const_ref_iterator<const parameters_type_t> |
Public Types inherited from LIEF::Object | |
template<class T > | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T > | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Public Member Functions | |
Prototype () | |
Prototype (const Prototype &other) | |
const Type * | return_type () const |
Type returned or a nullptr if not resolved. | |
Type * | return_type () |
it_const_params | parameters_type () const |
Types of the parameters. | |
it_params | parameters_type () |
void | accept (Visitor &visitor) const override |
~Prototype () override | |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
using LIEF::DEX::Prototype::parameters_type_t = std::vector<Type*> |
LIEF::DEX::Prototype::Prototype | ( | ) |
LIEF::DEX::Prototype::Prototype | ( | const Prototype & | other | ) |
|
override |
|
overridevirtual |
Implements LIEF::Object.
it_params LIEF::DEX::Prototype::parameters_type | ( | ) |
it_const_params LIEF::DEX::Prototype::parameters_type | ( | ) | const |
Types of the parameters.
Type * LIEF::DEX::Prototype::return_type | ( | ) |
const Type * LIEF::DEX::Prototype::return_type | ( | ) | const |
Type returned or a nullptr if not resolved.