#include "object_packers.h"#include <basis/byte_array.h>#include <basis/definitions.h>#include <basis/astring.h>#include <basis/functions.h>#include <basis/contracts.h>#include <basis/guards.h>

Go to the source code of this file.
Classes | |
| class | structures::amorph< contents > |
Namespaces | |
| namespace | structures |
A dynamic container class that holds any kind of object via pointers. | |
Defines | |
| #define | static_class_name() "amorph" |
| #define | AMO_ALERT(a1, a2, a3) {} |
| #define | CHECK_FIELDS { if (!func) {} } |
Functions | |
| template<class contents > | |
| void | structures::amorph_assign (amorph< contents > &to_assign, const amorph< contents > &to_copy) |
| This can be used when the templated object has a copy constructor. | |
| template<class contents > | |
| void | structures::amorph_pack (basis::byte_array &packed_form, const amorph< contents > &to_pack) |
| support for packing an amorph into an array of bytes. | |
| template<class contents > | |
| bool | structures::amorph_unpack (basis::byte_array &packed_form, amorph< contents > &to_unpack) |
| unpacks the amorph from an array of bytes. | |
| template<class contents > | |
| int | structures::amorph_packed_size (const amorph< contents > &to_pack) |
| reports how large the packed form will be. | |
| #define AMO_ALERT | ( | a1, | |||
| a2, | |||||
| a3 | ) | {} |
Definition at line 201 of file amorph.h.
Referenced by structures::amorph< contents >::acquire().
| #define CHECK_FIELDS { if (!func) {} } |
Definition at line 202 of file amorph.h.
Referenced by structures::amorph< contents >::acquire(), structures::amorph< contents >::adjust(), structures::amorph_packed_size(), structures::amorph< contents >::borrow(), structures::amorph< contents >::clear_all(), structures::amorph< contents >::find(), structures::amorph< contents >::reset(), and structures::amorph< contents >::zap().
1.6.3