Wikidata::Item
Wikidata::Item Class Reference
#include <entities.h>
Public Member Functions | |
Item (Q id, const QJsonObject &data) | |
constexpr Q | id () const |
constexpr bool | isValid () const |
template<typename T> | |
T | value (P property) const |
template<typename T> | |
std::vector< T > | values (P property) const |
Detailed Description
Wikidata item.
Definition at line 113 of file entities.h.
Member Function Documentation
◆ id()
|
inlinenodiscardconstexpr |
Definition at line 121 of file entities.h.
◆ isValid()
|
inlinenodiscardconstexpr |
Definition at line 120 of file entities.h.
◆ value()
template<typename T>
|
inlinenodiscard |
Definition at line 124 of file entities.h.
◆ values()
template<typename T>
|
inlinenodiscard |
Definition at line 130 of file entities.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:42 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:42 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.