data_structure Namespace Reference


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.


Function Documentation

template<class contents>
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().

template<class contents>
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().

template<class contents>
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().


Generated on Fri Nov 28 04:31:05 2008 for HOOPLE Libraries by  doxygen 1.5.1