object_packers.cpp File Reference

#include "object_packers.h"
#include <math.h>
Include dependency graph for object_packers.cpp:

Go to the source code of this file.

Namespaces

namespace  structures
 

A dynamic container class that holds any kind of object via pointers.


Functions

void structures::rotate_in (byte_array &attach_into, int to_attach, int size_in_bytes)
void structures::snag_out (byte_array &eat_from, basis::un_int &accumulator, int size_in_bytes)
int structures::packed_size (const basis::byte_array &packed_form)
 Reports the size required to pack a byte array into a byte array.
void structures::attach (basis::byte_array &packed_form, const basis::byte_array &to_attach)
 Packs a byte_array "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, basis::byte_array &to_detach)
 Unpacks a byte_array "to_detach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, basis::un_int to_attach)
 Packs an unsigned integer "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, basis::un_int &to_detach)
 Unpacks an unsigned integer "to_attach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, basis::un_short to_attach)
 Packs an unsigned short integer "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, basis::un_short &to_detach)
 Unpacks an unsigned short integer "to_attach" from "packed_form".
void structures::attach (byte_array &packed_form, abyte to_attach)
bool structures::detach (byte_array &packed_form, abyte &to_detach)
void structures::attach (basis::byte_array &packed_form, int to_attach)
 Packs an integer "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, int &to_detach)
 Unpacks an integer "to_attach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, short to_attach)
 Packs a short integer "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, short &to_detach)
 Unpacks a short integer "to_attach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, char to_attach)
 Packs a char "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, char &to_detach)
 Unpacks a char "to_detach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, bool to_attach)
 Packs a bool "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, bool &to_detach)
 Unpacks a bool "to_detach" from "packed_form".
double structures::break_off_digit (double &input)
int structures::packed_size (double to_pack)
 Reports how large the "to_pack" will be as a stream of bytes.
void structures::attach (basis::byte_array &packed_form, double to_pack)
 Packs a double precision floating point "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, double &to_unpack)
 Unpacks a double precision floating point "to_attach" from "packed_form".
void structures::attach (basis::byte_array &packed_form, float to_pack)
 Packs a floating point "to_attach" into "packed_form".
bool structures::detach (basis::byte_array &packed_form, float &to_unpack)
 Unpacks a floating point "to_attach" from "packed_form".
void structures::obscure_attach (byte_array &packed_form, un_int to_attach)
bool structures::obscure_detach (byte_array &packed_form, un_int &to_detach)
Generated on Sat Jan 28 04:24:12 2012 for hoople2 project by  doxygen 1.6.3