The C++ framework for developing highly scalable, high performance servers on Windows platforms.

TIntrusiveMultiMap Class Template Reference

Collaboration diagram for TIntrusiveMultiMap:

List of all members.

template<class T, class K, class TtoK, class Pr = std::less<K>, class TtoN = TIntrusiveMultiMapNodeIsBaseClass<T>>
class JetByteTools::Core::TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >


Public Types

typedef T value_type

Public Member Functions

 TIntrusiveMultiMap ()
 TIntrusiveMultiMap (const TIntrusiveMultiMap &rhs)
 ~TIntrusiveMultiMap ()
TIntrusiveMultiMapoperator= (const TIntrusiveMultiMap &rhs)
bool IsEmpty () const
size_t Size () const
Iterator Insert (const T *pItemToInsert)
Iterator Insert (const T *pItemToInsert, K key)
Iterator Find (const K &key) const
void RemoveAll (const Iterator &it, NodeCollection &nodes)
void RemoveAll (const K &key, NodeCollection &nodes)
T * RemoveOne (const K &key)
void Erase (const Iterator &it)
void Erase (const T *pItemToErase)
void Clear ()
Iterator Begin () const
Iterator End () const
void Validate () const

Static Public Member Functions

static bool IsInMap (const CIntrusiveMultiMapNode *pNode)

Classes

class  Iterator
class  NodeCollection

Member Typedef Documentation

typedef T value_type


Constructor & Destructor Documentation

TIntrusiveMultiMap (  )  [inline]

TIntrusiveMultiMap ( const TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN > &  rhs  ) 

~TIntrusiveMultiMap (  )  [inline]


Member Function Documentation

TIntrusiveMultiMap& operator= ( const TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN > &  rhs  ) 

bool IsEmpty (  )  const [inline]

size_t Size (  )  const [inline]

TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >::Iterator Insert ( const T *  pItemToInsert  )  [inline]

TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >::Iterator Insert ( const T *  pItemToInsert,
key 
) [inline]

TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >::Iterator Find ( const K &  key  )  const [inline]

void RemoveAll ( const Iterator it,
NodeCollection nodes 
) [inline]

void RemoveAll ( const K &  key,
NodeCollection nodes 
) [inline]

T * RemoveOne ( const K &  key  )  [inline]

void Erase ( const Iterator it  )  [inline]

void Erase ( const T *  pItemToErase  )  [inline]

void Clear (  )  [inline]

TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >::Iterator Begin (  )  const [inline]

TIntrusiveMultiMap< T, K, TtoK, Pr, TtoN >::Iterator End (  )  const [inline]

void Validate (  )  const [inline]

bool IsInMap ( const CIntrusiveMultiMapNode pNode  )  [inline, static]


Generated on Sun Sep 12 19:08:32 2021 for The Server Framework - v7.4 by doxygen 1.5.3