kdevplatform/language/duchain
containertypes.cpp
Go to the documentation of this file.
139 return StructureType::hash() + (contentType().abstractType() ? contentType().abstractType()->hash() : 1);
Represents a hashmap-like object which can have a key and a content type.
Definition: containertypes.h:180
Definition: containertypes.h:30
Represents a list-like object which can have a content type.
Definition: containertypes.h:83
void replaceContentType(const AbstractType::Ptr &newType)
Replaces this list's content type by newType.
Definition: containertypes.cpp:51
Private data structure for StructureType.
Definition: typesystemdata.h:198
REGISTER_TYPE(ArrayType)
bool equals(const AbstractType *rhs) const override
Definition: containertypes.cpp:127
void replaceKeyType(const AbstractType::Ptr &newType)
Set this map's key type to newType.
Definition: containertypes.cpp:56
bool equals(const AbstractType *rhs) const override
Definition: containertypes.cpp:109
QString containerToString() const
Return only the container type, not the content type in a string.
Definition: containertypes.cpp:104
bool equals(const AbstractType *rhs) const override
Definition: structuretype.cpp:46
Definition: abstractfunctiondeclaration.cpp:27
QString toString() const override
Formats this type (base type and key+content type) in a string.
Definition: containertypes.cpp:91
QString toString() const override
Formats this type (base type and content type) in a string.
Definition: containertypes.cpp:81
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:30:10 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:30:10 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.