binary_helper< literal > Struct Template Reference

#include <literal.hpp>

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

List of all members.

Static Public Member Functions


Detailed Description

template<>
struct mmx::binary_helper< literal >

Definition at line 66 of file literal.hpp.


Member Function Documentation

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

Definition at line 189 of file port.hpp.

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

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

Reimplemented from void_binary_helper< literal >.

Definition at line 71 of file literal.hpp.

00071                                                     {
00072     return literal (as<string> (x)); }

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

Reimplemented from void_binary_helper< literal >.

Definition at line 69 of file literal.hpp.

00069                                                        {
00070     return as<generic> (*x); }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< literal >.

Definition at line 68 of file literal.hpp.

00068 { return "Literal"; }

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

Reimplemented from void_binary_helper< literal >.

Definition at line 75 of file literal.hpp.

00075                                               {
00076     return literal (binary_read<string> (in)); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< literal >.

Definition at line 67 of file literal.hpp.

00067 { return "L"; }

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

Reimplemented from void_binary_helper< literal >.

Definition at line 73 of file literal.hpp.

References mmx::as_string().

00073                                                                {
00074     binary_write<string> (out, as_string (l)); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1