NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CStrictId< TKey, TStorage > Class Template Reference

Search Toolkit Book for CStrictId

Template class for strict ID types. More...

#include <corelib/ncbimisc.hpp>

+ Inheritance diagram for CStrictId< TKey, TStorage >:

Public Types

typedef TStorage TId
typedef CStrictId< TKey, TStorage > TThis

Public Member Functions

 CStrictId (void)
 CStrictId (const TThis &other)
TThisoperator= (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
TThisoperator++ (void)
TThis operator++ (int)
TThisoperator-- (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)
TIdSet (void)
template<typename T >
 CStrictId (T id, typename enable_if< is_same< T, TId >::value, T >::type=0)

Private Attributes

TId m_Id

Detailed Description

template<class TKey, class TStorage>
class CStrictId< TKey, TStorage >

Template class for strict ID types.


Definition at line 892 of file ncbimisc.hpp.

The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:10:40 2024 by rev. 669887