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_STRING_FILE_INFO_H
17#define LIEF_PE_RESOURCE_STRING_FILE_INFO_H
31struct ResourcesParser;
40 friend class ResourcesManager;
41 friend class ResourceVersion;
42 friend struct ResourcesParser;
51 ResourceStringFileInfo&
operator=(
const ResourceStringFileInfo&) =
default;
53 uint16_t
type()
const {
60 const std::u16string&
key()
const {
83 void key(std::u16string key) {
84 key_ = std::move(key);
86 void key(
const std::string& key);
89 childs_ = std::move(items);
92 void accept(Visitor& visitor)
const override;
95 LIEF_API friend std::ostream&
operator<<(std::ostream& os,
const ResourceStringFileInfo& string_file_info);
100 std::vector<LangCodeItem> childs_;
Representation of the StringFileInfo structure.
Definition ResourceStringFileInfo.hpp:38
void type(uint16_t type)
Definition ResourceStringFileInfo.hpp:79
const std::u16string & key() const
Signature of the structure: Must be the unicode string "StringFileInfo".
Definition ResourceStringFileInfo.hpp:63
ResourceStringFileInfo(uint16_t type, std::u16string key)
Definition ResourceStringFileInfo.hpp:46
void key(std::u16string key)
Definition ResourceStringFileInfo.hpp:83
const std::vector< LangCodeItem > & langcode_items() const
List of the LangCodeItem items.
Definition ResourceStringFileInfo.hpp:72
void langcode_items(std::vector< LangCodeItem > items)
Definition ResourceStringFileInfo.hpp:88
ResourceStringFileInfo(const ResourceStringFileInfo &)=default
ResourceStringFileInfo & operator=(const ResourceStringFileInfo &)=default
void accept(Visitor &visitor) const override
void key(const std::string &key)
uint16_t type() const
The type of data in the version resource.
Definition ResourceStringFileInfo.hpp:57
std::vector< LangCodeItem > & langcode_items()
Definition ResourceStringFileInfo.hpp:75
~ResourceStringFileInfo() override=default
friend std::ostream & operator<<(std::ostream &os, const ResourceStringFileInfo &string_file_info)
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