Loading...
Searching...
No Matches
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.

Classes

class  DataStreamReader
 
class  DataStreamWriter
 
struct  TSerializer< DataStream, Id< U > >
 
struct  TSerializer< DataStream, IdentifiedObject< T > >
 
struct  TSerializer< DataStream, std::optional< T > >
 
struct  TSerializer< DataStream, QList< T > >
 
struct  TSerializer< DataStream, std::array< T, N > >
 
struct  TSerializer< DataStream, ossia::small_vector< T, N > >
 
struct  TSerializer< DataStream, ossia::static_vector< T, N > >
 
struct  TSerializer< DataStream, std::vector< T, Alloc > >
 
struct  TSerializer< DataStream, boost::container::vector< T, Alloc > >
 
struct  TSerializer< DataStream, std::vector< bool > >
 
struct  TSerializer< DataStream, ossia::flat_set< T > >
 
struct  TSerializer< DataStream, std::pair< T, U > >
 
struct  TSerializer< DataStream, std::shared_ptr< T > >
 

Namespaces

namespace  score
 Base toolkit upon which the software is built.
 

Functions

template<typename T >
requires (!std::is_enum_v<T>)
DataStreamInputoperator<< (DataStreamInput &s, const T &obj)
 
template<typename T >
requires (!std::is_enum_v<T>)
DataStreamOutputoperator>> (DataStreamOutput &s, T &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)