RefCountHashMap< K, V, HASH, HANDLER >::Entry Class Reference

#include <refcount_hashmap.h>

Public Member Functions

 Entry ()
 
void AddReference () const
 
void RemoveReference () const
 
const Map::EntryGetBaseEntry () const
 
V & GetValue ()
 
const V & GetValue () const
 
const RefCountHashMapGetMap () const
 
String ToString (const FormatStatement *fmt=nullptr) const
 

Private Attributes

UInt _refCount
 
RefCountHashMap_map
 
_value
 

Friends

class EntryRef
 

Constructor & Destructor Documentation

◆ Entry()

Entry ( )

Member Function Documentation

◆ AddReference()

void AddReference ( ) const

◆ RemoveReference()

void RemoveReference ( ) const

◆ GetBaseEntry()

const Map::Entry& GetBaseEntry ( ) const

◆ GetValue() [1/2]

V& GetValue ( )

◆ GetValue() [2/2]

const V& GetValue ( ) const

◆ GetMap()

const RefCountHashMap& GetMap ( ) const

◆ ToString()

String ToString ( const FormatStatement fmt = nullptr) const

Friends And Related Function Documentation

◆ EntryRef

friend class EntryRef
friend

Member Data Documentation

◆ _refCount

UInt _refCount
mutableprivate

◆ _map

RefCountHashMap* _map
private

◆ _value

V _value
private