LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_PE_RESOURCE_VAR_FILE_INFO_H
17#define LIEF_PE_RESOURCE_VAR_FILE_INFO_H
31struct ResourcesParser;
38 friend class ResourcesManager;
39 friend class ResourceVersion;
40 friend struct ResourcesParser;
46 ResourceVarFileInfo&
operator=(
const ResourceVarFileInfo&) =
default;
48 uint16_t
type()
const {
55 const std::u16string&
key()
const {
79 void key(std::u16string key) {
80 key_ = std::move(key);
83 void key(
const std::string& key);
86 translations_ = std::move(translations);
89 void accept(Visitor& visitor)
const override;
97 std::vector<uint32_t> translations_;
This object describes information about languages supported by the application.
Definition ResourceVarFileInfo.hpp:36
friend std::ostream & operator<<(std::ostream &os, const ResourceVarFileInfo &entry)
const std::u16string & key() const
Signature of the structure: Must be the unicode string "VarFileInfo".
Definition ResourceVarFileInfo.hpp:58
uint16_t type() const
The type of data in the version resource.
Definition ResourceVarFileInfo.hpp:52
void translations(std::vector< uint32_t > translations)
Definition ResourceVarFileInfo.hpp:85
void accept(Visitor &visitor) const override
const std::vector< uint32_t > & translations() const
List of languages that the application supports.
Definition ResourceVarFileInfo.hpp:67
ResourceVarFileInfo(uint16_t type, std::u16string key)
ResourceVarFileInfo & operator=(const ResourceVarFileInfo &)=default
void type(uint16_t type)
Definition ResourceVarFileInfo.hpp:75
void key(std::u16string key)
Definition ResourceVarFileInfo.hpp:79
~ResourceVarFileInfo() override=default
std::vector< uint32_t > & translations()
Definition ResourceVarFileInfo.hpp:71
void key(const std::string &key)
ResourceVarFileInfo(const ResourceVarFileInfo &)=default
Representation of the data associated with the RT_VERSION entry.
Definition ResourceVersion.hpp:38
The Resource Manager provides an enhanced API to manipulate the resource tree.
Definition ResourcesManager.hpp:38
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41