basix_doc 0.1
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 65 of file compound.hpp.


Member Function Documentation

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

Definition at line 187 of file port.hpp.

                                                   {
    return vector_access (disassemble (x), i); }
static compound assemble ( const generic x) [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 70 of file compound.hpp.

References mmx::binary_assemble().

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

Reimplemented from void_binary_helper< compound >.

Definition at line 68 of file compound.hpp.

                                                        {
    return binary_disassemble<vector<generic> > (*c); }
static generic full_type_name ( ) [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 67 of file compound.hpp.

{ return "Compound"; }
static compound read ( const port in) [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 74 of file compound.hpp.

References mmx::binary_read().

                                               {
    return compound (binary_read<vector<generic> > (in)); }
static string short_type_name ( ) [inline, static]

Reimplemented from void_binary_helper< compound >.

Definition at line 66 of file compound.hpp.

{ return "Co"; }
static nat size ( const compound x) [inline, static, inherited]

Definition at line 185 of file port.hpp.

                                      {
    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 72 of file compound.hpp.

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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines