|
| struct | is_vector |
| | Predicate for detecting vectors. More...
|
| struct | is_vector< std::vector< T1, Allocator > > |
| struct | is_variant |
| | Predicate for detecting variants. More...
|
| struct | is_variant< std::variant< Ts... > > |
| struct | is_pair_or_tuple |
| | Predicate for detecting pairs and tuples. More...
|
| struct | is_pair_or_tuple< std::tuple< Ts... > > |
| struct | is_pair_or_tuple< std::pair< T1, T2 > > |
| 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_optional |
| | Predicate for std::optional. More...
|
| struct | is_optional< std::optional< T1 > > |
| 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_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_array |
| | Predicate for arrays. More...
|
| struct | is_array< std::array< T, N > > |
| 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...
|
|
| | Serializer (const Packer &packer) |
| | Constructor.
|
|
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.
|
| template<class... Args> |
| void | pack (const Args &... data) |
| | Call this to serialize data.
|
| template<class T> |
| void | unpack (T &data) |
| | Call this to de-serialize data.
|
| template<class... Args> |
| void | unpack (Args &... data) |
| | Call this to de-serialize data.
|
|
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> |
| void | vector (const Vector &data) |
| | Handler for vectors.
|
| void | vector (const std::vector< bool > &data) |
| | Handler for bool vectors.
|
| template<class Array> |
| void | array (const Array &data) |
| | Handler for arrays.
|
| template<class... Args> |
| void | variant (const std::variant< Args... > &data) |
| | Handler for std::variant.
|
| template<class T> |
| void | optional (const std::optional< T > &data) |
| | Handler for std::optional.
|
| template<class Tuple> |
| void | tuple (const Tuple &data) |
| | Handler for std::tuple.
|
| template<class Map> |
| void | map (const Map &data) |
| | Handler for maps.
|
| template<class Set> |
| void | set (const Set &data) |
| | Handler for sets.
|
|
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 | shared_ptr (const PtrType &data) |
| | Handler for shared pointers.
|
|
template<class PtrType> |
| void | unique_ptr (const PtrType &data) |
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.