NCBI C++ ToolKit
|
Search Toolkit Book for CStrictId
Template class for strict ID types. More...
#include <corelib/ncbimisc.hpp>
Public Types | |
typedef TStorage | TId |
typedef CStrictId< TKey, TStorage > | TThis |
Public Member Functions | |
CStrictId (void) | |
CStrictId (const TThis &other) | |
TThis & | operator= (const TThis &other) |
bool | operator== (const TThis &id) const |
bool | operator!= (const TThis &id) const |
bool | operator< (const TThis &id) const |
bool | operator<= (const TThis &id) const |
bool | operator> (const TThis &id) const |
bool | operator>= (const TThis &id) const |
TThis & | operator++ (void) |
TThis | operator++ (int) |
TThis & | operator-- (void) |
TThis | operator-- (int) |
TThis | operator+ (const TThis &id) const |
TThis | operator- (const TThis &id) const |
TThis | operator- (void) const |
TId | Get (void) const |
void | Set (TId id) |
TId & | Set (void) |
template<typename T > | |
CStrictId (T id, typename enable_if< is_same< T, TId >::value, T >::type=0) | |
Private Attributes | |
TId | m_Id |
Template class for strict ID types.
Definition at line 892 of file ncbimisc.hpp.