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;
58 const std::u16string&
key()
const;
66 std::vector<LangCodeItem>& langcode_items();
68 void type(uint16_t type);
70 void key(
const std::u16string& key);
71 void key(
const std::string& key);
72 void langcode_items(
const std::vector<LangCodeItem>& items);
74 void accept(
Visitor& visitor)
const override;
77 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const ResourceStringFileInfo& string_file_info);
82 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".
const std::vector< LangCodeItem > & langcode_items() const
List of the LangCodeItem items.
uint16_t type() const
The type of data in the version resource.
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:219
LIEF namespace.
Definition Abstract/Binary.hpp:32