binary_helper< compound > Struct Template Reference

#include <compound.hpp>

Inheritance diagram for binary_helper< compound >:
void_binary_helper< compound >

List of all members.

Static Public Member Functions


Detailed Description

template<>
struct mmx::binary_helper< compound >

Definition at line 67 of file compound.hpp.


Member Function Documentation

static generic access ( const compound x,
nat  i 
) [inline, static, inherited]

Definition at line 189 of file port.hpp.

00189                                                    {
00190     return vector_access (disassemble (x), i); }

static compound assemble ( const generic x  )  [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 72 of file compound.hpp.

References mmx::binary_assemble().

00072                                                      {
00073     return compound (binary_assemble<vector<generic> > (x)); }

static generic disassemble ( const compound c  )  [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 70 of file compound.hpp.

00070                                                         {
00071     return binary_disassemble<vector<generic> > (*c); }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 69 of file compound.hpp.

00069 { return "Compound"; }

static compound read ( const port in  )  [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 76 of file compound.hpp.

References mmx::binary_read().

00076                                                {
00077     return compound (binary_read<vector<generic> > (in)); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 68 of file compound.hpp.

00068 { return "Co"; }

static nat size ( const compound x  )  [inline, static, inherited]

Definition at line 187 of file port.hpp.

00187                                       {
00188     return vector_size (disassemble (x)); }

static void write ( const port out,
const compound c 
) [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 74 of file compound.hpp.

00074                                                                 {
00075     binary_write<vector<generic> > (out, *c); }


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1