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

#include <ResourceAccelerator.hpp>

Inheritance diagram for LIEF::PE::ResourceAccelerator:
Collaboration diagram for LIEF::PE::ResourceAccelerator:

Public Member Functions

 ResourceAccelerator ()=default
 
 ResourceAccelerator (const details::pe_resource_acceltableentry &)
 
 ResourceAccelerator (const ResourceAccelerator &)=default
 
ResourceAcceleratoroperator= (const ResourceAccelerator &)=default
 
 ~ResourceAccelerator () override=default
 
std::set< ACCELERATOR_FLAGSflags_list () const
 
std::string ansi_str () const
 
int16_t flags () const
 Describe the keyboard accelerator characteristics.
 
int16_t ansi () const
 An ANSI character value or a virtual-key code that identifies the accelerator key.
 
uint16_t id () const
 An identifier for the keyboard accelerator.
 
int16_t padding () const
 The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.
 
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>>>
 

Constructor & Destructor Documentation

◆ ResourceAccelerator() [1/3]

LIEF::PE::ResourceAccelerator::ResourceAccelerator ( )
default

◆ ResourceAccelerator() [2/3]

LIEF::PE::ResourceAccelerator::ResourceAccelerator ( const details::pe_resource_acceltableentry & )
explicit

◆ ResourceAccelerator() [3/3]

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

◆ ~ResourceAccelerator()

LIEF::PE::ResourceAccelerator::~ResourceAccelerator ( )
overridedefault

Member Function Documentation

◆ accept()

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

Implements LIEF::Object.

◆ ansi()

int16_t LIEF::PE::ResourceAccelerator::ansi ( ) const
inline

An ANSI character value or a virtual-key code that identifies the accelerator key.

◆ ansi_str()

std::string LIEF::PE::ResourceAccelerator::ansi_str ( ) const

◆ flags()

int16_t LIEF::PE::ResourceAccelerator::flags ( ) const
inline

Describe the keyboard accelerator characteristics.

◆ flags_list()

std::set< ACCELERATOR_FLAGS > LIEF::PE::ResourceAccelerator::flags_list ( ) const

◆ id()

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

An identifier for the keyboard accelerator.

◆ operator=()

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

◆ padding()

int16_t LIEF::PE::ResourceAccelerator::padding ( ) const
inline

The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.


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