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

Method readValue

kdevplatform/serialization/itemrepository.h:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81 template<typename T>
82 void readValue(T* to)
83 {
84 Q_ASSERT(to);
85 static_assert(std::is_integral_v<T>);
86
87 *to = *reinterpret_cast<T*>(m_data);
88 m_data += sizeof(T);
89 }
90
91 template<typename T>
92 void readArray(T** to, uint size)

Callers 1

initializeFromMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected