|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
Representation of the VarFileInfo structure. More...
#include <ResourceVarFileInfo.hpp>


Public Types | |
| using | vars_t = std::vector<ResourceVar> |
| using | it_vars = ref_iterator<vars_t&> |
| using | it_const_vars = const_ref_iterator<const vars_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 | |
| ResourceVarFileInfo ()=default | |
| ResourceVarFileInfo (const ResourceVarFileInfo &)=default | |
| ResourceVarFileInfo & | operator= (const ResourceVarFileInfo &)=default |
| ResourceVarFileInfo (ResourceVarFileInfo &&)=default | |
| ResourceVarFileInfo & | operator= (ResourceVarFileInfo &&)=default |
| ~ResourceVarFileInfo () 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 "VarFileInfo". | |
| std::string | key_u8 () const |
| Key as an utf8 string. | |
| it_vars | vars () |
| Iterator over the embedded variables associated to the structure. | |
| it_const_vars | vars () const |
| ResourceVarFileInfo & | type (uint16_t type) |
| ResourceVarFileInfo & | key (std::u16string key) |
| void | add_var (ResourceVar var) |
| 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< ResourceVarFileInfo > | parse (BinaryStream &stream) |
Representation of the VarFileInfo structure.
This structure represents the organization of data in a file-version resource. It contains version information not dependent on a particular language and code page combination.
See: https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo
| using LIEF::PE::ResourceVarFileInfo::it_const_vars = const_ref_iterator<const vars_t&> |
| using LIEF::PE::ResourceVarFileInfo::vars_t = std::vector<ResourceVar> |
|
default |
Referenced by key(), operator<<, operator=(), operator=(), ResourceVarFileInfo(), ResourceVarFileInfo(), and type().
|
default |
References ResourceVarFileInfo().
|
default |
References ResourceVarFileInfo().
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
References LIEF_API.
|
inline |
|
inline |
|
inline |
References key(), and ResourceVarFileInfo().
| std::string LIEF::PE::ResourceVarFileInfo::key_u8 | ( | ) | const |
Key as an utf8 string.
|
default |
References ResourceVarFileInfo().
|
default |
References ResourceVarFileInfo().
|
static |
|
inline |
The type of data in the version resource.
Referenced by type().
|
inline |
References ResourceVarFileInfo(), and type().
|
inline |
Iterator over the embedded variables associated to the structure.
|
inline |