LIEF: Library to Instrument Executable Formats Version 0.15.0
|
This object describes information about languages supported by the application. More...
#include <ResourceVarFileInfo.hpp>
Public Member Functions | |
ResourceVarFileInfo (uint16_t type, std::u16string key) | |
ResourceVarFileInfo (const ResourceVarFileInfo &) | |
ResourceVarFileInfo & | operator= (const ResourceVarFileInfo &) |
uint16_t | type () const |
The type of data in the version resource. | |
const std::u16string & | key () const |
Signature of the structure: Must be the unicode string "VarFileInfo". | |
const std::vector< uint32_t > & | translations () const |
List of languages that the application supports. | |
std::vector< uint32_t > & | translations () |
void | type (uint16_t type) |
void | key (const std::u16string &key) |
void | key (const std::string &key) |
void | translations (const std::vector< uint32_t > &translations) |
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 |
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>>> |
This object describes information about languages supported by the application.
|
overridevirtual |
Implements LIEF::Object.
const std::vector< uint32_t > & LIEF::PE::ResourceVarFileInfo::translations | ( | ) | const |
List of languages that the application supports.
The least significant 16-bits must contain a Microsoft language identifier, and the most significant 16-bits must contain the PE::CODE_PAGES Either most or least 16-bits can be zero, indicating that the file is language or code page independent.
uint16_t LIEF::PE::ResourceVarFileInfo::type | ( | ) | const |
The type of data in the version resource.
1
if it contains text data0
if it contains binary data