HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ef_TypedVectorKey< T > Class Template Referencefinal

The derived Ef_VectorKey type, which implements the methods for generating hashes and equality comparing Ef_VectorKeys with wrapped VdfVectors of type T. More...

#include <vectorKey.h>

+ Inheritance diagram for Ef_TypedVectorKey< T >:

Public Member Functions

 Ef_TypedVectorKey (const VdfVector &value)
 
 Ef_TypedVectorKey (const Ef_TypedVectorKey &)=delete
 
Ef_TypedVectorKeyoperator= (const Ef_TypedVectorKey &)=delete
 
virtual size_t CreateHash () const
 
virtual bool IsEqual (const Ef_VectorKey &rhs) const
 
- Public Member Functions inherited from Ef_VectorKey
 Ef_VectorKey (const Ef_VectorKey &)=delete
 
Ef_VectorKeyoperator= (const Ef_VectorKey &)=delete
 
virtual EF_API ~Ef_VectorKey ()
 
const VdfVectorGetValue () const
 
bool operator== (const Ef_VectorKey &rhs) const
 
bool operator!= (const Ef_VectorKey &rhs) const
 

Additional Inherited Members

- Public Types inherited from Ef_VectorKey
using StoredType = std::shared_ptr< Ef_VectorKey >
 
- Protected Member Functions inherited from Ef_VectorKey
 Ef_VectorKey (const VdfVector &value)
 
- Protected Attributes inherited from Ef_VectorKey
const VdfVector _value
 

Detailed Description

template<typename T>
class Ef_TypedVectorKey< T >

The derived Ef_VectorKey type, which implements the methods for generating hashes and equality comparing Ef_VectorKeys with wrapped VdfVectors of type T.

Definition at line 125 of file vectorKey.h.

Constructor & Destructor Documentation

template<typename T >
Ef_TypedVectorKey< T >::Ef_TypedVectorKey ( const VdfVector value)
inlineexplicit

Constructor.

Definition at line 131 of file vectorKey.h.

template<typename T >
Ef_TypedVectorKey< T >::Ef_TypedVectorKey ( const Ef_TypedVectorKey< T > &  )
delete

Non-copyable.

Member Function Documentation

template<typename T >
virtual size_t Ef_TypedVectorKey< T >::CreateHash ( ) const
inlinevirtual

Implementation of the method that generates a hash from the VdfVector holding data of type T.

Implements Ef_VectorKey.

Definition at line 143 of file vectorKey.h.

template<typename T >
virtual bool Ef_TypedVectorKey< T >::IsEqual ( const Ef_VectorKey rhs) const
inlinevirtual

Implementation of the method that equality compares two Ef_VectorKeys of type T.

Note, that if two Ef_VectorKeys do not hold the same type T, they will be considered unequal by design.

Implements Ef_VectorKey.

Definition at line 158 of file vectorKey.h.

template<typename T >
Ef_TypedVectorKey& Ef_TypedVectorKey< T >::operator= ( const Ef_TypedVectorKey< T > &  )
delete

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