LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LIEF::PE::ResourceDialogItem Class Reference

This class represents an item in the ResourceDialog. More...

#include <ResourceDialogItem.hpp>

Inheritance diagram for LIEF::PE::ResourceDialogItem:
Inheritance graph
[legend]
Collaboration diagram for LIEF::PE::ResourceDialogItem:
Collaboration graph
[legend]

Public Member Functions

 ResourceDialogItem (const details::pe_dialog_item_template_ext &header)
 
 ResourceDialogItem (const details::pe_dialog_item_template &header)
 
 ResourceDialogItem (const ResourceDialogItem &)
 
ResourceDialogItemoperator= (const ResourceDialogItem &)
 
bool is_extended () const
 True if the control is an extended one
 
uint32_t extended_style () const
 The extended styles for a window.
 
std::set< EXTENDED_WINDOW_STYLESextended_style_list () const
 List of PE::EXTENDED_WINDOW_STYLES associated with the ResourceDialogItem::extended_style value.
 
bool has_extended_style (EXTENDED_WINDOW_STYLES style) const
 Check if the DialogItem has the given PE::EXTENDED_WINDOW_STYLES.
 
uint32_t style () const
 The style of the control.
 
std::set< WINDOW_STYLESstyle_list () const
 
bool has_style (WINDOW_STYLES style) const
 
int16_t x () const
 The x-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.
 
int16_t y () const
 The y-coordinate, in dialog box units, of the upper-left corner of the control. This coordinate is always relative to the upper-left corner of the dialog box's client area.
 
int16_t cx () const
 The width, in dialog box units, of the control.
 
int16_t cy () const
 The height, in dialog box units, of the control.
 
uint32_t id () const
 The control identifier.
 
uint32_t help_id () const
 The help context identifier for the control.
 
const std::u16string & title () const
 Initial text of the control.
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::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
 

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

This class represents an item in the ResourceDialog.

Member Function Documentation

◆ accept()

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

Implements LIEF::Object.


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