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

◆ RichEntry() [2/3]

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

◆ RichEntry() [3/3]

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

◆ ~RichEntry()

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

Member Function Documentation

◆ accept()

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

Implements LIEF::Object.

◆ build_id() [1/2]

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

Build number of the tool (if any)

◆ build_id() [2/2]

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

◆ count() [1/2]

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

Occurrence count.

◆ count() [2/2]

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

◆ id() [1/2]

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

Entry type.

◆ id() [2/2]

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

◆ operator=()

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

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