#include
<MStringResourceId.h>
List of all
members.
Detailed Description
Unique identifier for an
MString Resource.
The MStringResourceId
class implements a string lookup key to be used in conjunction with
the MStringResource class to
retrieve strings from externally defined string resource
values.
Constructor & Destructor Documentation
MStringResourceId::MStringResourceId |
( |
|
) |
|
The Class constructor. Initializes the new MStringResourceId
instance to the empty string. This constructor will not be used in
practice.
MStringResourceId::MStringResourceId |
( |
const char * |
pluginId, |
|
|
const char * |
keyString, |
|
|
const MString & |
defaultValue |
|
|
) |
|
|
|
Class constructor. Create a new instance of an MStringResourceId.
This object can then be used to register and retrieve
MStringResource's.
The unique resource key is formed from a pair of strings: the
name of the plugin the string is associated with and a unique Id
for this particular string. The resourceId also contains the
string's default value.
- Parameters:
-
[in] |
pluginId |
the name of this plugin |
[in] |
keyString |
the unique string Id (within this plugin) |
[in] |
defaultValue |
the default value for the string resource |
Copy constructor. Create a new MStringResourceId
instance by copying another.
- Parameters:
-
MStringResourceId::~MStringResourceId |
( |
|
) |
|
Member Function Documentation
Inequality operator. Allows 2 MStringResourceIds to be compared
to see if they differ.
Equality operator. Allows 2 MStringResourceIds to be compared to
see if they contain identical values.