xoreos
0.0.5
|
#include <pe_exe.h>
Public Member Functions | |
PEResourceID () | |
PEResourceID (UString x) | |
PEResourceID (uint32 x) | |
PEResourceID & | operator= (UString string) |
PEResourceID & | operator= (uint32 x) |
bool | operator== (const UString &x) const |
bool | operator== (const uint32 &x) const |
bool | operator== (const PEResourceID &x) const |
bool | operator< (const PEResourceID &x) const |
UString | getString () const |
uint32 | getID () const |
UString | toString () const |
Private Types | |
enum | IDType { kIDTypeNull, kIDTypeNumerical, kIDTypeString } |
An ID Type. More... | |
Private Attributes | |
enum Common::PEResourceID::IDType | _idType |
UString | _name |
The resource's string ID. More... | |
uint32 | _id |
The resource's numerical ID. More... | |
|
private |
Common::PEResourceID::PEResourceID | ( | ) |
Definition at line 34 of file pe_exe.cpp.
Common::PEResourceID::PEResourceID | ( | UString | x | ) |
Definition at line 37 of file pe_exe.cpp.
Common::PEResourceID::PEResourceID | ( | uint32 | x | ) |
Definition at line 40 of file pe_exe.cpp.
uint32 Common::PEResourceID::getID | ( | ) | const |
Definition at line 84 of file pe_exe.cpp.
References _id, _idType, and kIDTypeNumerical.
UString Common::PEResourceID::getString | ( | ) | const |
Definition at line 77 of file pe_exe.cpp.
References _idType, _name, and kIDTypeString.
bool Common::PEResourceID::operator< | ( | const PEResourceID & | x | ) | const |
Definition at line 73 of file pe_exe.cpp.
References toString().
PEResourceID & Common::PEResourceID::operator= | ( | UString | string | ) |
Definition at line 43 of file pe_exe.cpp.
References _idType, _name, and kIDTypeString.
PEResourceID & Common::PEResourceID::operator= | ( | uint32 | x | ) |
Definition at line 49 of file pe_exe.cpp.
References _id, _idType, and kIDTypeNumerical.
bool Common::PEResourceID::operator== | ( | const UString & | x | ) | const |
Definition at line 55 of file pe_exe.cpp.
References _idType, _name, Common::UString::equalsIgnoreCase(), and kIDTypeString.
bool Common::PEResourceID::operator== | ( | const uint32 & | x | ) | const |
Definition at line 59 of file pe_exe.cpp.
References _id, _idType, and kIDTypeNumerical.
bool Common::PEResourceID::operator== | ( | const PEResourceID & | x | ) | const |
Definition at line 63 of file pe_exe.cpp.
References _id, _idType, _name, Common::UString::equalsIgnoreCase(), kIDTypeNumerical, and kIDTypeString.
UString Common::PEResourceID::toString | ( | ) | const |
Definition at line 91 of file pe_exe.cpp.
References _id, _idType, _name, kIDTypeNumerical, and kIDTypeString.
Referenced by operator<().
|
private |
The resource's numerical ID.
Definition at line 70 of file pe_exe.h.
Referenced by getID(), operator=(), operator==(), and toString().
|
private |
Referenced by getID(), getString(), operator=(), operator==(), and toString().
|
private |
The resource's string ID.
Definition at line 69 of file pe_exe.h.
Referenced by getString(), operator=(), operator==(), and toString().