Dynalib Utils
Public Member Functions | List of all members
SetEntry< V > Class Template Reference

#include <DynaHashSet.h>

Inheritance diagram for SetEntry< V >:
Inheritance graph
[legend]
Collaboration diagram for SetEntry< V >:
Collaboration graph
[legend]

Public Member Functions

 SetEntry (V *value, bool ownsValue)
 
virtual ~SetEntry ()
 
 SetEntry (const SetEntry< V > &other)
 
SetEntry< V > * copy () override
 
V * getValue () const
 
const V * setValue (V *newValue)
 
bool operator== (const SetEntry< V > &other) const override
 
bool isOwnsValue () const
 

Detailed Description

template<typename V>
class SetEntry< V >

Template for a HashSet Entry object

Template Parameters
EEntry

Constructor & Destructor Documentation

◆ SetEntry() [1/2]

template<typename V>
SetEntry< V >::SetEntry ( V *  value,
bool  ownsValue 
)

Entry Constructor

Template Parameters
K
V
Parameters
key
value

◆ ~SetEntry()

template<typename V >
SetEntry< V >::~SetEntry ( )
virtual

◆ SetEntry() [2/2]

template<typename V>
SetEntry< V >::SetEntry ( const SetEntry< V > &  other)

Member Function Documentation

◆ copy()

template<typename V >
SetEntry< V > * SetEntry< V >::copy ( )
overridevirtual

◆ getValue()

template<typename V>
V* SetEntry< V >::getValue ( ) const
inline

◆ isOwnsValue()

template<typename V>
bool SetEntry< V >::isOwnsValue ( ) const
inline

◆ operator==()

template<typename V>
bool SetEntry< V >::operator== ( const SetEntry< V > &  other) const
overridevirtual

◆ setValue()

template<typename V>
const V * SetEntry< V >::setValue ( V *  newValue)

Entry SetValue setter

Template Parameters
V
Parameters
newValue
Returns

The documentation for this class was generated from the following files: