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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.