binary_helper< document > Struct Template Reference

#include <document.hpp>

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

List of all members.

Static Public Member Functions


Detailed Description

template<>
struct mmx::binary_helper< document >

Definition at line 72 of file document.hpp.


Member Function Documentation

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

Definition at line 189 of file port.hpp.

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

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

Reimplemented from void_binary_helper< document >.

Definition at line 77 of file document.hpp.

References mmx::as_document().

00077                                                      {
00078     return as_document (x); }

static generic disassemble ( const document x  )  [inline, static]

Reimplemented from void_binary_helper< document >.

Definition at line 75 of file document.hpp.

00075                                                         {
00076     return *x; }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< document >.

Definition at line 74 of file document.hpp.

00074 { return "Document"; }

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

Reimplemented from void_binary_helper< document >.

Definition at line 81 of file document.hpp.

References mmx::as_document().

00081                                                {
00082     return as_document (binary_read<generic> (in)); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< document >.

Definition at line 73 of file document.hpp.

00073 { return "Doc"; }

static nat size ( const document 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 document s 
) [inline, static]

Reimplemented from void_binary_helper< document >.

Definition at line 79 of file document.hpp.

00079                                                                 {
00080     binary_write<generic> (out, *s); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1