|
| TResIdT () |
| Sets the identifier to 0.
|
|
| TResIdT (TPointer id) |
| Encapsulates the given Windows resource identifier.
|
|
| TResIdT (int id) |
| Encapsulates the given numerical Windows resource identifier.
|
|
TPointer | GetPointerRepresentation () const |
| Returns the encapsulated pointer.
|
|
bool | IsInt () const |
| Returns true if this resource identifier encodes an integer value.
|
|
bool | IsString () const |
| Returns true if this resource identifier encodes a string pointer.
|
|
WORD | GetInt () const |
| Returns the encapsulated numerical identifier, provided this resource identifier encodes a numerical identifier.
|
|
TPointer | GetString () const |
| Returns the encapsulated string pointer, provided this resource identifier encodes a string pointer.
|
|
template<
class T>
class owl::TResIdT< T >
TResId encapsulates a Windows resource identifier.
A Windows resource identifier is a pointer which either stores a pointer to a string that identifies the resource, or a numerical identifier encoded as a WORD in the lower bits. If the latter, then the higher bits are 0.
This class does not take ownership of the actual string that the resource identifier may point to.
Definition at line 48 of file wsyscls.h.
Extracts a TResIdT object from is (the given input stream), and copies it to id.
Returns a reference to the resulting stream, allowing the usual chaining of >> operations.
NOTE: The caller is responsible for deallocating the memory if the returned TResId represents a resource string, i.e. when id.IsString() == true.
Definition at line 117 of file wsyscls.h.