|
| ResourceData (std::vector< uint8_t > content, uint32_t code_page) |
|
| ResourceData (const ResourceData &other) |
|
ResourceData & | operator= (ResourceData other) |
|
void | swap (ResourceData &other) |
|
std::unique_ptr< ResourceNode > | clone () const override |
|
uint32_t | code_page () const |
| Return the code page that is used to decode code point values within the resource data. Typically, the code page is the Unicode code page.
|
|
span< const uint8_t > | content () const |
| Resource content.
|
|
span< uint8_t > | content () |
|
uint32_t | reserved () const |
| Reserved value. Should be 0
|
|
uint32_t | offset () const |
| Offset of the content within the resource.
|
|
void | code_page (uint32_t code_page) |
|
void | content (const std::vector< uint8_t > &content) |
|
void | reserved (uint32_t value) |
|
void | accept (Visitor &visitor) const override |
|
| ResourceNode (const ResourceNode &other) |
|
ResourceNode & | operator= (const ResourceNode &other) |
|
| ResourceNode (ResourceNode &&other) |
|
ResourceNode & | operator= (ResourceNode &&other) |
|
void | swap (ResourceNode &other) |
|
uint32_t | id () const |
| Integer that identifies the Type, Name, or Language ID of the entry depending on its depth in the tree.
|
|
const std::u16string & | name () const |
| Name of the entry.
|
|
it_childs | childs () |
| Iterator on node's children.
|
|
it_const_childs | childs () const |
|
bool | has_name () const |
| True if the entry uses a name as ID
|
|
uint32_t | depth () const |
| Current depth of the Node in the resource tree.
|
|
bool | is_directory () const |
| True if the current entry is a ResourceDirectory.
|
|
bool | is_data () const |
| True if the current entry is a ResourceData.
|
|
void | id (uint32_t id) |
|
void | name (const std::string &name) |
|
void | name (std::u16string name) |
|
ResourceNode & | add_child (const ResourceDirectory &child) |
| Add a ResourceDirectory to the current node.
|
|
ResourceNode & | add_child (const ResourceData &child) |
| Add a ResourceData to the current node.
|
|
void | delete_child (uint32_t id) |
| Delete the node with the given id
|
|
void | delete_child (const ResourceNode &node) |
| Delete the given node from the node's children.
|
|
void | accept (Visitor &visitor) const override |
|
| Object (const Object &other) |
|
Object & | operator= (const Object &other) |
|
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 |
|
Class which represents a Data Node in the PE resources tree.