summaryrefslogtreecommitdiff
path: root/asn.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-01 02:59:27 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-01 02:59:27 -0400
commit93657b074a5cb229043341b25c1211c3743b7577 (patch)
tree98ee7d8fa262acf68a4cebc530901d5cacc3ebea /asn.h
parent4e92f9927974bed96da50f73aff81b30ee2ca8ac (diff)
downloadcryptopp-git-93657b074a5cb229043341b25c1211c3743b7577.tar.gz
Update documentation
Diffstat (limited to 'asn.h')
-rw-r--r--asn.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/asn.h b/asn.h
index e0abba26..a51d7e56 100644
--- a/asn.h
+++ b/asn.h
@@ -852,6 +852,18 @@ inline bool operator!=(const OID &lhs, const OID &rhs);
/// \returns true if the first OID is less than the second OID, false otherwise
/// \details operator<() calls std::lexicographical_compare() on each element in the array of values.
inline bool operator<(const OID &lhs, const OID &rhs);
+/// \brief Compare two OIDs for ordering
+/// \param lhs the first OID
+/// \param rhs the second OID
+/// \returns true if the first OID is less than or equal to the second OID, false otherwise
+/// \details operator<=() is implemented in terms of operator==() and operator<().
+inline bool operator<=(const ::CryptoPP::OID &lhs, const ::CryptoPP::OID &rhs)
+/// \brief Compare two OIDs for ordering
+/// \param lhs the first OID
+/// \param rhs the second OID
+/// \returns true if the first OID is greater than or equal to the second OID, false otherwise
+/// \details operator>=() is implemented in terms of operator<().
+inline bool operator>=(const ::CryptoPP::OID &lhs, const ::CryptoPP::OID &rhs)
/// \brief Append a value to an OID
/// \param lhs the OID
/// \param rhs the value to append