basix_doc 0.1
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 187 of file port.hpp.

                                                   {
    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.

                                                    {
    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.

                                                       {
    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.

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

Reimplemented from void_binary_helper< literal >.

Definition at line 75 of file literal.hpp.

                                              {
    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.

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

Definition at line 185 of file port.hpp.

                                      {
    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().

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

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