amorph.h File Reference

#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>
Include dependency graph for amorph.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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) {} }
 
#define static_class_name (  )     "amorph"

Definition at line 192 of file amorph.h.

Generated on Sat Jan 28 04:24:00 2012 for hoople2 project by  doxygen 1.6.3