binary_helper< format< T > > Struct Template Reference

#include <port.hpp>

Inheritance diagram for binary_helper< format< T > >:
void_binary_helper< format< T > >

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename T>
struct mmx::binary_helper< format< T > >

Definition at line 417 of file port.hpp.


Member Typedef Documentation

typedef format<T>::FT FT

Definition at line 418 of file port.hpp.


Member Function Documentation

static generic access ( const format< T > &  x,
nat  i 
) [inline, static, inherited]

Definition at line 189 of file port.hpp.

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

static format<T> assemble ( const generic x  )  [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 425 of file port.hpp.

References mmx::get_format().

00425                                                        {
00426     return get_format (binary_assemble<T> (x)); }

static generic disassemble ( const format< T > &  fm  )  [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 423 of file port.hpp.

References mmx::binary_disassemble(), and mmx::get_sample().

00423                                                           {
00424     return binary_disassemble (get_sample (fm)); }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 421 of file port.hpp.

References Full_type_name, mmx::gen(), and mmx::T.

00421                                           {
00422     return gen ("Format", Full_type_name (T)); }

static format<T> read ( const port in  )  [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 429 of file port.hpp.

References mmx::read().

00429                                                 {
00430     return format_binary_helper<FT,T>::read (in); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 419 of file port.hpp.

References Short_type_name, and mmx::T.

00419                                           {
00420     return "Fm" * Short_type_name (T); }

static nat size ( const format< T > &  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 format< T > &  fm 
) [inline, static]

Reimplemented from void_binary_helper< format< T > >.

Definition at line 427 of file port.hpp.

References mmx::write().

00427                                                                   {
00428     format_binary_helper<FT,T>::write (out, fm); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1