|
struct | has_serializeOp |
| Detect existence of serializeOp member function. More...
|
|
struct | has_serializeOp< T, std::void_t< decltype(std::declval< T >().serializeOp(std::declval< Serializer< Packer > & >()))> > |
| Detect existence of serializeOp member function. More...
|
|
struct | is_array |
| Predicate for arrays. More...
|
|
struct | is_array< std::array< T, N > > |
|
struct | is_map |
| Predicate for maps. More...
|
|
struct | is_map< std::map< Key, T, Compare, Allocator > > |
|
struct | is_map< std::unordered_map< Key, T, Hash, KeyEqual, Allocator > > |
|
struct | is_optional |
| Predicate for std::optional. More...
|
|
struct | is_optional< std::optional< T1 > > |
|
struct | is_pair_or_tuple |
| Predicate for detecting pairs and tuples. More...
|
|
struct | is_pair_or_tuple< std::pair< T1, T2 > > |
|
struct | is_pair_or_tuple< std::tuple< Ts... > > |
|
struct | is_ptr |
| Predicate for smart pointers. More...
|
|
struct | is_ptr< std::shared_ptr< T1 > > |
|
struct | is_ptr< std::unique_ptr< T1, Deleter > > |
|
struct | is_set |
| Predicate for sets. More...
|
|
struct | is_set< std::set< Key, Compare, Allocator > > |
|
struct | is_set< std::unordered_set< Key, Hash, KeyEqual, Allocator > > |
|
struct | is_variant |
| Predicate for detecting variants. More...
|
|
struct | is_variant< std::variant< Ts... > > |
|
struct | is_vector |
| Predicate for detecting vectors. More...
|
|
struct | is_vector< std::vector< T1, Allocator > > |
|
|
| Serializer (const Packer &packer) |
| Constructor. More...
|
|
template<class T > |
void | operator() (const T &data) |
| Applies current serialization op to the passed data.
|
|
template<class T > |
void | pack (const T &data) |
| Call this to serialize data. More...
|
|
template<class... Args> |
void | pack (const Args &... data) |
| Call this to serialize data. More...
|
|
template<class T > |
void | unpack (T &data) |
| Call this to de-serialize data. More...
|
|
template<class... Args> |
void | unpack (Args &... data) |
| Call this to de-serialize data. More...
|
|
size_t | position () const |
| Returns current position in buffer.
|
|
bool | isSerializing () const |
| Returns true if we are currently doing a serialization operation.
|
|
|
template<typename Vector > |
const Vector::value_type * | getVectorData (const Vector &data) |
| Utility function for missing data() member function in FieldVector of DUNE 2.6.
|
|
template<typename Vector > |
Vector::value_type * | getVectorData (Vector &data) |
| Utility function for missing data() member function in FieldVector of DUNE 2.6.
|
|
template<typename Vector > |
void | vector (const Vector &data) |
| Handler for vectors. More...
|
|
void | vector (const std::vector< bool > &data) |
| Handler for bool vectors. More...
|
|
template<class Array > |
void | array (const Array &data) |
| Handler for arrays. More...
|
|
template<class... Args> |
void | variant (const std::variant< Args... > &data) |
| Handler for std::variant. More...
|
|
template<class T > |
void | optional (const std::optional< T > &data) |
| Handler for std::optional. More...
|
|
template<class Tuple > |
void | tuple (const Tuple &data) |
| Handler for std::tuple. More...
|
|
template<class Map > |
void | map (const Map &data) |
| Handler for maps. More...
|
|
template<class Set > |
void | set (const Set &data) |
| Handler for sets. More...
|
|
template<typename T , typename... Args> |
void | variadic_call (T &first, Args &&... args) |
|
template<std::size_t I = 0, typename Tuple > |
std::enable_if< I==std::tuple_size< Tuple >::value, void >::type | tuple_call (const Tuple &) |
|
template<std::size_t I = 0, typename Tuple > |
std::enable_if< I!=std::tuple_size< Tuple >::value, void >::type | tuple_call (const Tuple &tuple) |
|
template<class PtrType > |
void | ptr (const PtrType &data) |
| Handler for smart pointers.
|
|
template<class Packer>
class Opm::Serializer< Packer >
Class for (de-)serializing.
!
If the class has a serializeOp member this is used, if not it is passed on to the underlying packer.