diff options
Diffstat (limited to 'src/include/usr/targeting/common/entitypath.H')
-rw-r--r-- | src/include/usr/targeting/common/entitypath.H | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/entitypath.H b/src/include/usr/targeting/common/entitypath.H index cee5422cc..13fa86d39 100644 --- a/src/include/usr/targeting/common/entitypath.H +++ b/src/include/usr/targeting/common/entitypath.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* COPYRIGHT International Business Machines Corp. 2011,2014 */ /* */ /* p1 */ /* */ @@ -255,6 +255,29 @@ class EntityPath const EntityPath& i_rhs) const; /** + * @brief Returns whether an entity path is logically less than + * another entity path (lexicographical order) + * + * Returns whether an entity path is logically less than another. + * This determination takes into account the entity path type, the + * number of path elements, and the values of the path elements + * themselves. + * + * @param[in] i_rhs Const reference to entity path to compare + * + * @pre N/A + * + * @post Equality returned to caller + * + * @return bool indicating whether an entity path is logically less + * than another entity path + * + * @retval true The lhs entity path is logically less than rhs + * @retval false The lhs entity path is logically greater than rhs + */ + bool operator<(const EntityPath& i_rhs) const; + + /** * @brief Returns whether two entity paths are logically equal, but * only for the specified number of path elements * |