DataStreamVisitor.hpp File Reference
Detailed Description
This file contains facilities to serialize an object using QDataStream.
Generally, it is used with QByteArrays, but it works with any QIODevice.
Go to the source code of this file.
Namespaces | |
score | |
Base toolkit upon which the software is built. | |
Functions | |
template<typename T > | |
requires (!std::is_enum_v< T >) DataStreamInput &operator<<(DataStreamInput &s | |
reader | readFrom (obj) |
writer | writeTo (obj) |
template<typename T , std::size_t N> | |
QDataStream & | operator<< (QDataStream &stream, const ossia::small_vector< T, N > &obj) |
template<typename T , std::size_t N> | |
QDataStream & | operator>> (QDataStream &stream, ossia::small_vector< T, N > &obj) |
template<typename T , typename Alloc > | |
requires (!is_QDataStreamSerializable< typename std::vector< T, Alloc >::value_type > &&!std::is_pointer_v< T > &&!is_shared_ptr_v< T >) struct TSerializer< DataStream | |
template<typename T , typename Alloc > | |
requires (is_QDataStreamSerializable< typename std::vector< T, Alloc >::value_type >) struct TSerializer< DataStream | |
Variables | |
const T & | obj |
return | s |
Variable Documentation
◆ obj
T& obj |
Initial value: