5template <
typename TYPE,
typename ARG_TYPE,
typename ALLOCATOR, ::enum_type t_etypeContainer >
6inline void __exchange(
::payload_stream&
stream, ::base_array < TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >& array)
9 __exchange_array(
stream, array);
14template <
typename TYPE,
typename ARG_TYPE,
typename ALLOCATOR, ::enum_type t_etypeContainer >
15inline void __exchange(
::payload_stream&
stream, ::raw_array < TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer >& array)
18 __exchange_array(
stream, array);
23template <
typename TYPE, ::enum_type t_etypeContainer >
27 __exchange_array(
stream, array);
32template <
typename Type,
typename RawType, ::enum_type t_etypeContainer >
33inline void __exchange(
::payload_stream&
stream, ::string_base_array < Type, RawType, t_etypeContainer >& array)
36 __exchange_array(
stream, array);
42template <
class ARRAY >
49 __exchange_save_array(
stream, array);
55 __exchange_load_array(
stream, array);
61template <
typename ARRAY >
65 auto c = array.get_count();
67 stream.stream_exchange(e_property_count, c);
76 for (::collection::index i = 0; i < c; i++)
79 stream.stream_exchange(i, __typed(array.element_at(i)));
93template <
typename ARRAY >
97 auto c = array.get_count();
99 stream.stream_exchange(e_property_count, c);
110 for (::collection::index i = 0; i < c; i++)
113 auto& t = __typed_defer_new(array.element_at(i));
115 stream.stream_exchange(i, t);
134template <
typename OBJECT >
138 s.defer_constructø(pparticle);
140 __exchange(s, *pparticle);
145template <
typename TYPE >
146inline void payload_stream::stream_exchange(const ::atom&
atom, TYPE& t)
149 var_exchange(atom, t);
Definition ___serialization_draft.h:93
Definition ___serialization_draft.h:42