16#ifndef LIEF_PE_RESOURCE_STRING_FILE_INFO_H
17#define LIEF_PE_RESOURCE_STRING_FILE_INFO_H
21#include "LIEF/visibility.h"
23#include "LIEF/Object.hpp"
24#include "LIEF/PE/resources/LangCodeItem.hpp"
29class ResourcesManager;
31struct ResourcesParser;
42 friend struct ResourcesParser;
63 const std::u16string&
key()
const {
75 std::vector<LangCodeItem>& langcode_items() {
79 void type(uint16_t type) {
83 void key(std::u16string key) {
84 key_ = std::move(key);
86 void key(
const std::string& key);
88 void langcode_items(std::vector<LangCodeItem> items) {
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
const std::u16string & key() const
Signature of the structure: Must be the unicode string "StringFileInfo".
Definition ResourceStringFileInfo.hpp:63
const std::vector< LangCodeItem > & langcode_items() const
List of the LangCodeItem items.
Definition ResourceStringFileInfo.hpp:72
uint16_t type() const
The type of data in the version resource.
Definition ResourceStringFileInfo.hpp:57
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
LIEF namespace.
Definition Abstract/Binary.hpp:31