LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
LIEF::pdb::Function::Iterator Class Referencefinal

#include <Function.hpp>

Inheritance diagram for LIEF::pdb::Function::Iterator:
Collaboration diagram for LIEF::pdb::Function::Iterator:

Public Types

using implementation = details::FunctionIt
Public Types inherited from LIEF::iterator_facade_base< Iterator, std::forward_iterator_tag, Function, std::ptrdiff_t, const Function *, const Function & >
using iterator_category
using value_type
using difference_type
using pointer
using reference

Public Member Functions

 Iterator ()
 Iterator (std::unique_ptr< details::FunctionIt > impl)
 Iterator (const Iterator &)
Iteratoroperator= (const Iterator &)
 Iterator (Iterator &&) noexcept
Iteratoroperator= (Iterator &&) noexcept
 ~Iterator ()
Iteratoroperator++ ()
const Functionoperator* () const
const Functionoperator-> () const
std::unique_ptr< Functionyield ()
 Transfer ownership of the function at the current position to the caller. Returns nullptr if the iterator is past-the-end.
DerivedT operator++ (int)
Public Member Functions inherited from LIEF::iterator_facade_base< Iterator, std::forward_iterator_tag, Function, std::ptrdiff_t, const Function *, const Function & >
Iterator operator+ (std::ptrdiff_t n) const
Iterator operator- (std::ptrdiff_t n) const
Iterator & operator++ ()
Iterator & operator-- ()
bool operator!= (const Iterator &RHS) const
bool operator> (const Iterator &RHS) const
bool operator<= (const Iterator &RHS) const
bool operator>= (const Iterator &RHS) const
PointerProxy operator-> () const
ReferenceProxy operator[] (std::ptrdiff_t n) const

Member Typedef Documentation

◆ implementation

using LIEF::pdb::Function::Iterator::implementation = details::FunctionIt

Constructor & Destructor Documentation

◆ Iterator() [1/4]

LIEF::pdb::Function::Iterator::Iterator ( )

◆ Iterator() [2/4]

LIEF::pdb::Function::Iterator::Iterator ( std::unique_ptr< details::FunctionIt > impl)

References LIEF_API.

◆ Iterator() [3/4]

LIEF::pdb::Function::Iterator::Iterator ( const Iterator & )

References Iterator(), and LIEF_API.

◆ Iterator() [4/4]

LIEF::pdb::Function::Iterator::Iterator ( Iterator && )
noexcept

References Iterator(), and LIEF_API.

◆ ~Iterator()

LIEF::pdb::Function::Iterator::~Iterator ( )

References Iterator(), and LIEF_API.

Member Function Documentation

◆ operator*()

const Function & LIEF::pdb::Function::Iterator::operator* ( ) const

◆ operator++() [1/2]

Iterator & LIEF::pdb::Function::Iterator::operator++ ( )

References Iterator(), and LIEF_API.

◆ operator++() [2/2]

DerivedT LIEF::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >::operator++ ( int )
inline

◆ operator->()

const Function * LIEF::pdb::Function::Iterator::operator-> ( ) const

◆ operator=() [1/2]

Iterator & LIEF::pdb::Function::Iterator::operator= ( const Iterator & )

References Iterator(), and LIEF_API.

◆ operator=() [2/2]

Iterator & LIEF::pdb::Function::Iterator::operator= ( Iterator && )
noexcept

References Iterator(), and LIEF_API.

◆ yield()

std::unique_ptr< Function > LIEF::pdb::Function::Iterator::yield ( )

Transfer ownership of the function at the current position to the caller. Returns nullptr if the iterator is past-the-end.

References LIEF_API.


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