#include <ResourceDirectory.h>
Collaboration diagram for ResourceChild:

Public Member Functions | |
| bool | equalId (dword wId) const |
| Function which compares a resource ID to the node's resource ID. | |
| bool | equalName (std::string strName) const |
| Function which compares a string to the node's resource name. | |
| bool | isNamedResource () const |
| Predicate that determines if a child is identified by name or by ID. | |
| bool | operator< (const ResourceChild &rc) const |
| Used for sorting a node's children. | |
| ResourceChild & | operator= (const ResourceChild &rhs) |
| Makes a deep copy of a ResourceChild object. | |
| ResourceChild (const ResourceChild &rhs) | |
| Makes a deep copy of a ResourceChild object. | |
| ResourceChild () | |
| Standard constructor. Does absolutely nothing. | |
| ~ResourceChild () | |
| Deletes a ResourceChild object. | |
Private Attributes | |
| ResourceElement * | child |
| A pointer to one of the node's child nodes. | |
| PELIB_IMG_RES_DIR_ENTRY | entry |
| Stores name and offset of a resource node. | |
|
|
Function which compares a resource ID to the node's resource ID. Compares the resource child's id to the parameter dwId.
|
|
|
Function which compares a string to the node's resource name. Compares the resource child's name to the parameter strName.
|
|
|
Predicate that determines if a child is identified by name or by ID. Returns true if the resource was given a name. |
|
|
Used for sorting a node's children. The children of a resource must be ordered in a certain way. First come the named resources in sorted order, afterwards followed the unnamed resources in sorted order. Here is the call graph for this function: ![]() |
1.3.7