common_templates.h File Reference

#include "byte_array.h"

Include dependency graph for common_templates.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  basis

Classes

class  byte_sequence
 Similar to the byte array, but provides a standardized sequence of bytes. More...
class  flexichar_sequence
 A double-byte sequence for use in unicode strings. More...
class  string_array
 An array of istring objects. More...
class  int_array
 A simple object that wraps a templated array of ints. More...
class  int_set
 A simple object that wraps a templated set of ints. More...
class  string_set
 A simple object that wraps a templated set of strings. More...
class  pointer_set
 A set of pointers that hides the platform's pointer size. More...
class  char_star_array
 a simple wrapper of an array of char *, used by portable's break_line(). More...

Functions

template<class contents>
void basis::pack (byte_array &packed_form, const array< contents > &to_pack)
 provides a way to pack any array that stores packable objects.
template<class contents>
bool basis::unpack (byte_array &packed_form, array< contents > &to_unpack)
 provides a way to unpack any array that stores packable objects.
template<class contents>
int basis::packed_size (const array< contents > &to_pack)
 provides space estimation for the objects to be packed.
template<class contents>
void basis::pack_simple (byte_array &packed_form, const array< contents > &to_pack)
 Packs flat objects into an array of bytes.
template<class contents>
bool basis::unpack_simple (byte_array &packed_form, array< contents > &to_unpack)
 Unpacks flat objects from an array of bytes.
template<class contents>
void basis::pack (byte_array &packed_form, const basis::set< contents > &to_pack)
 provides a way to pack any set that stores packable objects.
template<class contents>
bool basis::unpack (byte_array &packed_form, basis::set< contents > &to_unpack)
 provides a way to unpack any set that stores packable objects.


Generated on Mon Jan 14 04:31:29 2008 for HOOPLE Libraries by  doxygen 1.5.1