LIEF: Library to Instrument Executable Formats Version 0.15.0
|
Class which represents the childs of the ResourceStringFileInfo. More...
#include <LangCodeItem.hpp>
Public Types | |
using | items_t = std::unordered_map<std::u16string, std::u16string> |
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>>> |
Public Member Functions | |
LangCodeItem (uint16_t type, std::u16string key) | |
LangCodeItem (const LangCodeItem &) | |
LangCodeItem & | operator= (const LangCodeItem &) |
uint16_t | type () const |
The type of data in the version resource. | |
const std::u16string & | key () const |
A 8-digit hexadecimal number stored as an Unicode string. | |
CODE_PAGES | code_page () const |
Code page for which LangCodeItem::items are defined | |
uint32_t | lang () const |
Lang for which LangCodeItem::items are defined. | |
uint32_t | sublang () const |
Sublang for which LangCodeItem::items are defined. | |
const items_t & | items () const |
items_t & | items () |
void | type (uint16_t type) |
void | key (const std::u16string &key) |
void | key (const std::string &key) |
void | code_page (CODE_PAGES code_page) |
void | lang (uint32_t lang) |
void | sublang (uint32_t lang) |
void | items (const items_t &items) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
Object (const Object &other) | |
Object & | operator= (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 |
Class which represents the childs of the ResourceStringFileInfo.
|
overridevirtual |
Implements LIEF::Object.
const std::u16string & LIEF::PE::LangCodeItem::key | ( | ) | const |
A 8-digit hexadecimal number stored as an Unicode string.
uint16_t LIEF::PE::LangCodeItem::type | ( | ) | const |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data