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

Class which represents an entry associated to the RichHeader. More...

#include <RichEntry.hpp>

Inheritance diagram for LIEF::PE::RichEntry:
Collaboration diagram for LIEF::PE::RichEntry:

Public Member Functions

 RichEntry ()=default
 RichEntry (uint16_t id, uint16_t build_id, uint32_t count)
 RichEntry (const RichEntry &)=default
RichEntryoperator= (const RichEntry &)=default
 ~RichEntry () override=default
uint16_t id () const
 Entry type.
uint16_t build_id () const
 Build number of the tool (if any).
uint32_t count () const
 Occurrence count.
void id (uint16_t id)
void build_id (uint16_t build_id)
void count (uint32_t count)
void accept (Visitor &visitor) const override
Public Member Functions inherited from LIEF::Object
 Object ()
 Object (const Object &other)
Objectoperator= (const Object &other)
 Object (Object &&other) noexcept=default
Objectoperator= (Object &&other) noexcept=default
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 ()

Additional Inherited Members

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>>>

Detailed Description

Class which represents an entry associated to the RichHeader.

Constructor & Destructor Documentation

◆ RichEntry() [1/3]

LIEF::PE::RichEntry::RichEntry ( )
default

Referenced by operator<<, operator=(), and RichEntry().

◆ RichEntry() [2/3]

LIEF::PE::RichEntry::RichEntry ( uint16_t id,
uint16_t build_id,
uint32_t count )
inline

References build_id(), count(), and id().

◆ RichEntry() [3/3]

LIEF::PE::RichEntry::RichEntry ( const RichEntry & )
default

References RichEntry().

◆ ~RichEntry()

LIEF::PE::RichEntry::~RichEntry ( )
overridedefault

Member Function Documentation

◆ accept()

void LIEF::PE::RichEntry::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

References LIEF_API.

◆ build_id() [1/2]

uint16_t LIEF::PE::RichEntry::build_id ( ) const
inline

Build number of the tool (if any).

Referenced by build_id(), and RichEntry().

◆ build_id() [2/2]

void LIEF::PE::RichEntry::build_id ( uint16_t build_id)
inline

References build_id().

◆ count() [1/2]

uint32_t LIEF::PE::RichEntry::count ( ) const
inline

Occurrence count.

Referenced by count(), and RichEntry().

◆ count() [2/2]

void LIEF::PE::RichEntry::count ( uint32_t count)
inline

References count().

◆ id() [1/2]

uint16_t LIEF::PE::RichEntry::id ( ) const
inline

Entry type.

Referenced by id(), and RichEntry().

◆ id() [2/2]

void LIEF::PE::RichEntry::id ( uint16_t id)
inline

References id().

◆ operator=()

RichEntry & LIEF::PE::RichEntry::operator= ( const RichEntry & )
default

References RichEntry().


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