QtBase  v6.3.1
Classes | Macros | Functions | Variables
src_corelib_tools_qmap.cpp File Reference

Go to the source code of this file.

Classes

class  Employee
 [0] More...
 

Macros

#define EMPLOYEE_H
 [12] More...
 

Functions

map insert ("twelve", 12)
 [1] More...
 
 if (map.contains("TIMEOUT")) timeout
 
 for (int i=0;i< 1000;++i)
 [0] More...
 
QMapIterator< QString, int > i (map)
 [6] More...
 
 while (i.hasNext())
 
 while (i !=map.constEnd())
 
map insert ("plenty", 100)
 [8] More...
 
map insert ("plenty", 2000)
 
bool operator< (const Employee &e1, const Employee &e2)
 
map insert (1, "one")
 
map insert (5, "five")
 
map insert (10, "ten")
 
map lowerBound (0)
 
map lowerBound (1)
 
map lowerBound (2)
 
map lowerBound (10)
 
map lowerBound (999)
 
map upperBound (0)
 
map upperBound (1)
 
map upperBound (2)
 
map upperBound (10)
 
map upperBound (999)
 
map insert ("January", 1)
 
map insert ("February", 2)
 
map insert ("December", 12)
 

Variables

QMap< QString, int > map = 1
 [0] More...
 
int num1 = map["thirteen"]
 [2] More...
 
int num2 = map.value("thirteen")
 
int timeout = 30
 [3] More...
 
QMap< QString, int >::const_iterator i = map.constBegin()
 [7] More...
 
QMap< QString, int >::const_iterator upperBound = map.upperBound("HDR")
 

Macro Definition Documentation

◆ EMPLOYEE_H

#define EMPLOYEE_H

[12]

[13]

Definition at line 132 of file src_corelib_tools_qmap.cpp.

Function Documentation

◆ for()

for ( )

[0]

[10]

[1]

[11]

[0]

[4]

Definition at line 90 of file src_corelib_tools_qmap.cpp.

Here is the call graph for this function:

◆ i()

QMapIterator<QString, int> i ( map  )

[6]

[7]

◆ if()

if ( map.  contains"TIMEOUT")

◆ insert() [1/9]

map insert ( "December"  ,
12   
)
Here is the call graph for this function:

◆ insert() [2/9]

map insert ( "February"  ,
 
)

◆ insert() [3/9]

map insert ( "January"  ,
 
)

◆ insert() [4/9]

map insert ( "plenty"  ,
100   
)

[8]

[9]

◆ insert() [5/9]

map insert ( "plenty"  ,
2000   
)

◆ insert() [6/9]

map insert ( "twelve"  ,
12   
)

[1]

[2]

◆ insert() [7/9]

multimap insert ( ,
"one"   
)

◆ insert() [8/9]

multimap insert ( 10  ,
"ten"   
)

◆ insert() [9/9]

multimap insert ( ,
"five"   
)

◆ lowerBound() [1/5]

map lowerBound ( )
Here is the caller graph for this function:

◆ lowerBound() [2/5]

map lowerBound ( )

◆ lowerBound() [3/5]

map lowerBound ( 10  )

◆ lowerBound() [4/5]

map lowerBound ( )

◆ lowerBound() [5/5]

map lowerBound ( 999  )

◆ operator<()

bool operator< ( const Employee e1,
const Employee e2 
)
inline

Definition at line 146 of file src_corelib_tools_qmap.cpp.

Here is the call graph for this function:

◆ upperBound() [1/5]

map upperBound ( )

◆ upperBound() [2/5]

map upperBound ( )

◆ upperBound() [3/5]

map upperBound ( 10  )

◆ upperBound() [4/5]

map upperBound ( )

◆ upperBound() [5/5]

map upperBound ( 999  )

◆ while() [1/2]

while ( i = map.constEnd())

Definition at line 108 of file src_corelib_tools_qmap.cpp.

Here is the call graph for this function:

◆ while() [2/2]

while ( i.  hasNext())

Definition at line 99 of file src_corelib_tools_qmap.cpp.

Here is the call graph for this function:

Variable Documentation

◆ i

QMap<QString, int>::iterator i = map.constBegin()

[7]

[8]

Definition at line 107 of file src_corelib_tools_qmap.cpp.

◆ map

QMap<QString, int> map = 1

[0]

[13]

[9]

[5]

[1]

[6]

[12]

[14]

[15]

[16]

[17]

[18]

Definition at line 52 of file src_corelib_tools_qmap.cpp.

◆ num1

int num1 = map["thirteen"]

[2]

[3]

Definition at line 69 of file src_corelib_tools_qmap.cpp.

◆ num2

int num2 = map.value("thirteen")

Definition at line 70 of file src_corelib_tools_qmap.cpp.

◆ timeout

int timeout = 30

[3]

[4]

[5]

Definition at line 75 of file src_corelib_tools_qmap.cpp.

◆ upperBound

QMap<QString, int>::const_iterator upperBound = map.upperBound("HDR")

Definition at line 186 of file src_corelib_tools_qmap.cpp.