#include <ResourceDirectory.h>
Inheritance diagram for ResourceElement:
Public Member Functions | |
unsigned int | getElementRva () const |
Returns the RVA of the element in the file. | |
virtual bool | isLeaf () const =0 |
Indicates if the resource element is a leaf or a node. | |
virtual void | makeValid ()=0 |
Corrects erroneous valeus in the ResourceElement. | |
virtual | ~ResourceElement () |
Necessary virtual destructor. | |
Protected Member Functions | |
virtual int | read (InputBuffer &, unsigned int, unsigned int)=0 |
Reads the next resource element from the InputBuffer. | |
virtual void | rebuild (OutputBuffer &, unsigned int &, unsigned int, const std::string &) const =0 |
Writes the next resource element into the OutputBuffer. | |
Protected Attributes | |
unsigned int | uiElementRva |
Stores RVA of the resource element in the file. |
|
Returns the RVA of the element in the file. Returns the RVA of a ResourceElement. This is the RVA where the ResourceElement can be found in the file.
|