Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_corelib_tools_qhash.cpp File Reference

(c068da1c7ccffdb41d5bfdc5dad8c276ed5d75c4)

#include <QHash>
#include <QHashIterator>
#include <iostream>
#include <QDate>
#include <utility>
Include dependency graph for src_corelib_tools_qhash.cpp:

Go to the source code of this file.

Classes

class  Employee
 [0] More...
struct  K
struct  std::hash< K >

Namespaces

namespace  Repetition_1
 [qhashbits]
namespace  Repetition_2
namespace  std
 [33]

Macros

#define EMPLOYEE_H
 [13]

Functions

void examples ()
bool operator== (const Employee &e1, const Employee &e2)
size_t qHash (const Employee &key, size_t seed)
void wrap ()
 [13]
size_t qHash (const std::vector< int > &key, size_t seed=0)
 [qhashbits]
size_t Repetition_1::qHash (const std::vector< int > &key, size_t seed=0)
 [qhashrange]
size_t Repetition_2::qHash (const std::unordered_set< int > &key, size_t seed=0)
 [qhashrangecommutative]
void snippets ()

Macro Definition Documentation

◆ EMPLOYEE_H

#define EMPLOYEE_H

[13]

Definition at line 122 of file src_corelib_tools_qhash.cpp.

Function Documentation

◆ examples()

void examples ( )

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[4]

[4]

[5]

[5]

[7]

[7]

[8]

[8]

[qhash-iterator-stl-style]

[qhash-iterator-stl-style]

[qhash-iterator-modify-values]

[qhash-iterator-modify-values]

[9]

[9]

[12]

[12]

Definition at line 13 of file src_corelib_tools_qhash.cpp.

◆ operator==()

bool operator== ( const Employee & e1,
const Employee & e2 )
inline

Definition at line 138 of file src_corelib_tools_qhash.cpp.

◆ qHash() [1/2]

size_t qHash ( const Employee & key,
size_t seed )
inline

Definition at line 144 of file src_corelib_tools_qhash.cpp.

◆ qHash() [2/2]

size_t qHash ( const std::vector< int > & key,
size_t seed = 0 )
inline

[qhashbits]

Definition at line 335 of file src_corelib_tools_qhash.cpp.

◆ snippets()

void snippets ( )

[32]

[32]

[34]

[34]

[35]

[35]

Definition at line 376 of file src_corelib_tools_qhash.cpp.

◆ wrap()

void wrap ( )

[13]

[14]

[14]

[15]

[15]

[15multihash]

[15multihash]

[16]

[16]

[17]

[17]

[18]

[18]

[21]

[21]

[22]

[22]

[23]

[23]

[24]

[24]

[25]

[25]

[26]

[26]

[27]

[27]

[28]

[28]

Definition at line 153 of file src_corelib_tools_qhash.cpp.