◆ ValueMetaDataKey() [1/2]
| FiftyoneDegrees::Common::ValueMetaDataKey::ValueMetaDataKey | ( | ) |
Default constructor.
This should not be used externally as it returns an invalid instance.
Key used to store ValueMetaData in a Collection.
A value name is not unique, however it is unique within the collection of values for a single property. For this reason, the key consists of the property name and the value name.
Constructors | |
| ValueMetaDataKey ()
Default constructor. More...
| |
| ValueMetaDataKey (string propertyName, string valueName)
Construct a new instance of ValueMetaDataKey from the unique combination of property and value names. More...
| |
Getters | |
| const string | getPropertyName () const
Get the name of the property that the value keyed relates to. More...
|
| const string | getValueName () const
Get the name of the value which is being keyed. More...
|
Operators | |
| const bool | operator< (ValueMetaDataKey other) const
Override the less than operator so the unique key can be used to order lists. More...
|
| const bool | operator== (ValueMetaDataKey other) const
Override the equality operator so the unique key can be found in a generic collection. More...
|
| FiftyoneDegrees::Common::ValueMetaDataKey::ValueMetaDataKey | ( | ) |
Default constructor.
This should not be used externally as it returns an invalid instance.
| ValueMetaDataKey::ValueMetaDataKey | ( | string | propertyName, |
| string | valueName | ||
| ) |
Construct a new instance of ValueMetaDataKey from the unique combination of property and value names.
| const string ValueMetaDataKey::getPropertyName | ( | ) | const |
Get the name of the property that the value keyed relates to.
Get the name of the property which the key relates to.
| const string ValueMetaDataKey::getValueName | ( | ) | const |
Get the name of the value which is being keyed.
Get the name of the value which the key relates to.
| const bool ValueMetaDataKey::operator< | ( | ValueMetaDataKey | other | ) | const |
Override the less than operator so the unique key can be used to order lists.
Compare two keys for ordering.
Keys are ordered first on property name, then value name.
| const bool ValueMetaDataKey::operator== | ( | ValueMetaDataKey | other | ) | const |
Override the equality operator so the unique key can be found in a generic collection.
Return true if the two keys are equal.
To be equal, both keys must have the same property and value names.