binary_helper< symbol< C, V > > Struct Template Reference

#include <symbol.hpp>

Inheritance diagram for binary_helper< symbol< C, V > >:
void_binary_helper< symbol< C, V > >

List of all members.

Static Public Member Functions


Detailed Description

template<typename C, typename V>
struct mmx::binary_helper< symbol< C, V > >

Definition at line 148 of file symbol.hpp.


Member Function Documentation

static generic access ( const symbol< C, V > &  x,
nat  i 
) [inline, static, inherited]

Definition at line 189 of file port.hpp.

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

static symbol<C,V> assemble ( const generic x  )  [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 155 of file symbol.hpp.

References Symbol.

00155                                                    {
00156     return Symbol (as<C> (x)); }

static generic disassemble ( const symbol< C, V > &  x  )  [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 153 of file symbol.hpp.

References mmx::C.

00153                                                       {
00154     return as<generic> (C (*x)); }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 151 of file symbol.hpp.

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

00151                                           {
00152     return gen ("Symbol", Full_type_name (C)); }

static symbol<C,V> read ( const port in  )  [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 159 of file symbol.hpp.

References Symbol.

00159                                              {
00160     return Symbol (binary_read<C> (in)); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 149 of file symbol.hpp.

References mmx::C, and Short_type_name.

00149                                           {
00150     return "Sy" * Short_type_name (C); }

static nat size ( const symbol< C, V > &  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 symbol< C, V > &  s 
) [inline, static]

Reimplemented from void_binary_helper< symbol< C, V > >.

Definition at line 157 of file symbol.hpp.

00157                                                               {
00158     binary_write<C> (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