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

Class which represents a DEX method prototype. More...

#include <Prototype.hpp>

Inheritance diagram for LIEF::DEX::Prototype:
Collaboration diagram for LIEF::DEX::Prototype:

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 Typereturn_type () const
 Type returned or a nullptr if not resolved.
 
Typereturn_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)
 
Objectoperator= (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 ()
 

Detailed Description

Class which represents a DEX method prototype.

Member Typedef Documentation

◆ it_const_params

◆ it_params

◆ parameters_type_t

Constructor & Destructor Documentation

◆ Prototype() [1/2]

LIEF::DEX::Prototype::Prototype ( )

◆ Prototype() [2/2]

LIEF::DEX::Prototype::Prototype ( const Prototype & other)

◆ ~Prototype()

LIEF::DEX::Prototype::~Prototype ( )
override

Member Function Documentation

◆ accept()

void LIEF::DEX::Prototype::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ parameters_type() [1/2]

it_params LIEF::DEX::Prototype::parameters_type ( )

◆ parameters_type() [2/2]

it_const_params LIEF::DEX::Prototype::parameters_type ( ) const

Types of the parameters.

◆ return_type() [1/2]

Type * LIEF::DEX::Prototype::return_type ( )

◆ return_type() [2/2]

const Type * LIEF::DEX::Prototype::return_type ( ) const

Type returned or a nullptr if not resolved.


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