BearParser
Portable Executable parsing library (from PE-bear)
|
#include <ResourcesAlbum.h>
Public Member Functions | |
ResourcesAlbum (Executable *pe) | |
virtual | ~ResourcesAlbum () |
void | putLeaf (ResourceLeafWrapper *leaf, long topEntryId) |
void | clear () |
size_t | dirsCount () |
size_t | entriesCountAt (long topEntryId) |
std::vector< ResourceLeafWrapper * > * | entriesAt (long topEntryId) |
void | mapIdToLeafType (long topId, pe::resource_type leafType) |
void | wrapLeafsContent () |
ResourceContentWrapper * | getContentWrapper (ResourceLeafWrapper *leaf) |
bool | hasType (pe::resource_type typeId) |
ResourcesContainer * | getResourcesOfType (pe::resource_type typeId) |
std::vector< pe::resource_type > | getResourceTypes () const |
Protected Member Functions | |
void | clearLeafsContent () |
void | initResourceTypes () |
bool | hasTopEntry (long topEntryId) |
Protected Attributes | |
std::vector< pe::resource_type > | allTypes |
std::map< pe::resource_type, ResourcesContainer > | allWrappers |
std::map< long, std::vector< ResourceLeafWrapper * > > | allLeafs |
std::map< long, pe::resource_type > | idToLeafType |
std::map< ResourceLeafWrapper *, ResourceContentWrapper * > | leafToContentWrapper |
Definition at line 27 of file ResourcesAlbum.h.
|
inline |
Definition at line 30 of file ResourcesAlbum.h.
|
inlinevirtual |
void ResourcesAlbum::clear | ( | ) |
|
protected |
Definition at line 35 of file ResourcesAlbum.cpp.
|
inline |
Definition at line 37 of file ResourcesAlbum.h.
std::vector< ResourceLeafWrapper * > * ResourcesAlbum::entriesAt | ( | long | topEntryId | ) |
size_t ResourcesAlbum::entriesCountAt | ( | long | topEntryId | ) |
|
inline |
Definition at line 44 of file ResourcesAlbum.h.
ResourcesContainer * ResourcesAlbum::getResourcesOfType | ( | pe::resource_type | typeId | ) |
|
inline |
Definition at line 48 of file ResourcesAlbum.h.
|
inlineprotected |
Definition at line 54 of file ResourcesAlbum.h.
|
inline |
Definition at line 46 of file ResourcesAlbum.h.
|
protected |
Definition at line 113 of file ResourcesAlbum.cpp.
|
inline |
Definition at line 42 of file ResourcesAlbum.h.
void ResourcesAlbum::putLeaf | ( | ResourceLeafWrapper * | leaf, |
long | topEntryId ) |
Definition at line 60 of file ResourcesAlbum.cpp.
void ResourcesAlbum::wrapLeafsContent | ( | ) |
|
protected |
Definition at line 58 of file ResourcesAlbum.h.
|
protected |
Definition at line 56 of file ResourcesAlbum.h.
|
protected |
Definition at line 57 of file ResourcesAlbum.h.
|
protected |
Definition at line 60 of file ResourcesAlbum.h.
|
protected |
Definition at line 61 of file ResourcesAlbum.h.