Functions | |
| template<class contents> | |
| void | pack (byte_array &packed_form, const deep_array< contents > &to_pack) |
| provides a way to pack any deep_array that stores packable objects. | |
| template<class contents> | |
| bool | unpack (byte_array &packed_form, deep_array< contents > &to_unpack) |
| provides a way to unpack any deep_array that stores packable objects. | |
| template<class contents> | |
| int | packed_size (const deep_array< contents > &to_pack) |
| provides space estimation for the objects to be packed. | |
| void data_structure::pack | ( | byte_array & | packed_form, | |
| const deep_array< contents > & | to_pack | |||
| ) |
provides a way to pack any deep_array that stores packable objects.
Definition at line 166 of file deep_array.h.
References basis::attach(), and deep_array< contents >::length().
| int data_structure::packed_size | ( | const deep_array< contents > & | to_pack | ) |
provides space estimation for the objects to be packed.
Definition at line 193 of file deep_array.h.
References deep_array< contents >::length().
Referenced by SAFE_STATIC_CONST(), and string_array().
| bool data_structure::unpack | ( | byte_array & | packed_form, | |
| deep_array< contents > & | to_unpack | |||
| ) |
provides a way to unpack any deep_array that stores packable objects.
Definition at line 174 of file deep_array.h.
References basis::detach(), deep_array< contents >::reset(), deep_array< contents >::swap_contents(), and deep_array< contents >::valid().
1.5.1