16#ifndef LIEF_PE_RESOURCE_STRING_FILE_INFO_H
17#define LIEF_PE_RESOURCE_STRING_FILE_INFO_H
29class ResourcesManager;
31struct ResourcesParser;
42 friend struct ResourcesParser;
63 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);
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
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41