LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Representation of the StringFileInfo structure. More...
#include <ResourceStringFileInfo.hpp>
Public Types | |
using | elements_t = std::vector<ResourceStringTable> |
using | it_const_elements = const_ref_iterator<const elements_t&> |
using | it_elements = ref_iterator<elements_t&> |
Public Types inherited from LIEF::Object | |
template<class T> | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T> | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Public Member Functions | |
ResourceStringFileInfo ()=default | |
ResourceStringFileInfo (const ResourceStringFileInfo &)=default | |
ResourceStringFileInfo & | operator= (const ResourceStringFileInfo &)=default |
ResourceStringFileInfo (ResourceStringFileInfo &&)=default | |
ResourceStringFileInfo & | operator= (ResourceStringFileInfo &&)=default |
~ResourceStringFileInfo () override=default | |
uint16_t | type () const |
The type of data in the version resource. | |
const std::u16string & | key () const |
Signature of the structure. Must be the unicode string "StringFileInfo". | |
it_const_elements | children () const |
Iterator over the children values. | |
it_elements | children () |
std::string | key_u8 () const |
The key as an utf8 string. | |
ResourceStringFileInfo & | type (uint16_t type) |
ResourceStringFileInfo & | key (std::u16string key) |
void | add_child (ResourceStringTable table) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
Object (Object &&other) noexcept=default | |
Object & | operator= (Object &&other) noexcept=default |
template<class T> | |
output_t< T > | as () |
template<class T> | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
Static Public Member Functions | |
static result< ResourceStringFileInfo > | parse (BinaryStream &stream) |
Representation of the StringFileInfo structure.
It contains version information that can be displayed for a particular language and code page.
See: https://learn.microsoft.com/en-us/windows/win32/menurc/stringfileinfo
using LIEF::PE::ResourceStringFileInfo::elements_t = std::vector<ResourceStringTable> |
|
default |
Referenced by key(), operator<<, operator=(), operator=(), ResourceStringFileInfo(), ResourceStringFileInfo(), and type().
|
default |
References ResourceStringFileInfo().
|
default |
References ResourceStringFileInfo().
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
References LIEF_API.
|
inline |
|
inline |
|
inline |
Iterator over the children values.
|
inline |
|
inline |
References key(), and ResourceStringFileInfo().
std::string LIEF::PE::ResourceStringFileInfo::key_u8 | ( | ) | const |
The key as an utf8 string.
|
default |
References ResourceStringFileInfo().
|
default |
References ResourceStringFileInfo().
|
static |
|
inline |
The type of data in the version resource.
Referenced by type().
|
inline |
References ResourceStringFileInfo(), and type().