MCPcopy Create free account
hub / github.com/KDE/kdevelop / readValues

Function readValues

kdevplatform/serialization/itemrepository.h:111–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110template<class T>
111void readValues(QIODevice* file, uint numValues, T* to)
112{
113 Q_ASSERT(file);
114 Q_ASSERT(to);
115 static_assert(std::is_integral_v<T>);
116
117 file->read(reinterpret_cast<char*>(to), sizeof(T) * numValues);
118}
119
120template<class T>
121void readValue(QIODevice* file, T* to)

Callers 4

readValueFunction · 0.85
readListFunction · 0.85
storeMethod · 0.85
openMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected