Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qcontainerfwd.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QCONTAINERFWD_H
6
#
define
QCONTAINERFWD_H
7
8
#
include
<
QtCore
/
qtconfigmacros
.
h
>
9
#
include
<
QtCore
/
qtypes
.
h
>
10
11
#
if
0
12
#
pragma
qt_class
(
QtContainerFwd
)
13
#
endif
14
15
// std headers can unfortunately not be forward declared
16
#
include
<
cstddef
>
// std::size_t
17
#
include
<
utility
>
18
#
include
<
limits
>
19
20
QT_BEGIN_NAMESPACE
21
22
template
<
typename
Key,
typename
T>
class
QCache;
23
template
<
typename
Key,
typename
T>
class
QHash
;
24
template
<
typename
Key,
typename
T>
class
QMap
;
25
template
<
typename
Key,
typename
T>
class
QMultiHash;
26
template
<
typename
Key,
typename
T>
class
QMultiMap;
27
#
ifndef
QT_NO_QPAIR
28
template
<
typename
T1,
typename
T2>
29
using
QPair
=
std
::pair<T1, T2>;
30
#
endif
31
template
<
typename
T>
class
QQueue;
32
template
<
typename
T>
class
QSet;
33
template
<
typename
T,
std
::size_t E =
std
::size_t(-1)
/* = std::dynamic_extent*/
>
class
QSpan
;
34
template
<
typename
T>
class
QStack;
35
inline
constexpr
qsizetype
QVarLengthArrayDefaultPrealloc
= 256;
36
template
<
typename
T, qsizetype Prealloc = QVarLengthArrayDefaultPrealloc>
class
QVarLengthArray
;
37
template
<
typename
T>
class
QList
;
38
class
QString;
39
#
ifndef
Q_QDOC
40
template
<
typename
T>
using
QVector
=
QList
<T>;
41
using
QStringList
=
QList
<QString>;
42
class
QByteArray
;
43
using
QByteArrayList
=
QList
<
QByteArray
>;
44
#
else
45
template
<
typename
T>
class
QVector;
46
class
QStringList;
47
class
QByteArrayList;
48
#
endif
49
class
QMetaType;
50
class
QVariant;
51
52
using
QVariantList
=
QList
<QVariant>;
53
using
QVariantMap
=
QMap
<QString, QVariant>;
54
using
QVariantHash
=
QHash
<QString, QVariant>;
55
using
QVariantPair
=
std
::pair<QVariant, QVariant>;
56
57
namespace
QtPrivate
58
{
59
[[
maybe_unused
]]
60
inline
constexpr
qsizetype
MaxAllocSize
= (
std
::
numeric_limits
<
qsizetype
>::
max
)();
61
}
62
63
QT_END_NAMESPACE
64
65
#
endif
// QCONTAINERFWD_H
QByteArray::FromBase64Result
\inmodule QtCore
Definition
qbytearray.h:824
QHash
\inmodule QtCore
Definition
qhash.h:844
QList
Definition
qlist.h:82
QMap
Definition
qmap.h:295
QSpan
Definition
qspan.h:320
QVarLengthArray
Definition
qvarlengtharray.h:291
QtPrivate
Definition
qalloc.h:29
QtPrivate::MaxAllocSize
constexpr qsizetype MaxAllocSize
Definition
qcontainerfwd.h:60
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
QVariantHash
QHash< QString, QVariant > QVariantHash
Definition
qcontainerfwd.h:54
QPair
std::pair< T1, T2 > QPair
Definition
qcontainerfwd.h:29
QVariantMap
QMap< QString, QVariant > QVariantMap
Definition
qcontainerfwd.h:53
QVariantPair
std::pair< QVariant, QVariant > QVariantPair
Definition
qcontainerfwd.h:55
QStringList
QList< QString > QStringList
Constructs a string list that contains the given string, str.
Definition
qcontainerfwd.h:41
QVariantList
QList< QVariant > QVariantList
Definition
qcontainerfwd.h:52
QVarLengthArrayDefaultPrealloc
constexpr qsizetype QVarLengthArrayDefaultPrealloc
Definition
qcontainerfwd.h:35
QVector
QList< T > QVector
Definition
qcontainerfwd.h:40
QByteArrayList
QList< QByteArray > QByteArrayList
Definition
qcontainerfwd.h:43
qtbase
src
corelib
tools
qcontainerfwd.h
Generated on
for Qt by
1.18.0