binary_helper< affine< C, VC > > Struct Template Reference

#include <affine.hpp>

Inheritance diagram for binary_helper< affine< C, VC > >:
void_binary_helper< affine< C, VC > >

List of all members.

Static Public Member Functions


Detailed Description

template<typename C, typename VC>
struct mmx::binary_helper< affine< C, VC > >

Definition at line 169 of file affine.hpp.


Member Function Documentation

static generic access ( const affine< C, VC > &  x,
nat  i 
) [static, inherited]
static affine<C,VC> assemble ( const generic v  )  [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 178 of file affine.hpp.

References Affine, and mmx::vector_access().

00178                                                    {
00179     return Affine (as<C> (vector_access (v, 0)),
00180                    as<VC> (vector_access (v, 1)),
00181                    as<VR> (vector_access (v, 2))); }

static generic disassemble ( const affine< C, VC > &  z  )  [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 174 of file affine.hpp.

References mmx::gen_vec().

00174                                                       {
00175     return gen_vec (as<generic> (base (z)),
00176                     as<generic> (slope (z)),
00177                     as<generic> (limits (z))); }

static generic full_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 172 of file affine.hpp.

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

00172                                           {
00173     return gen ("Affine", Full_type_name (C)); }

static affine<C,VC> read ( const port in  )  [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 186 of file affine.hpp.

References Affine, mmx::C, s, and VR.

00186                                              {
00187     C  b= binary_read<C> (in);
00188     VC s= binary_read<VC> (in);
00189     VR d= binary_read<VR> (in);
00190     return Affine (b, s, d); }

static string short_type_name (  )  [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 170 of file affine.hpp.

References mmx::C, and Short_type_name.

00170                                           {
00171     return "Af" * Short_type_name (C) * Short_type_name (VC); }

static nat size ( const affine< C, VC > &  x  )  [static, inherited]
static void write ( const port out,
const affine< C, VC > &  z 
) [inline, static]

Reimplemented from void_binary_helper< affine< C, VC > >.

Definition at line 182 of file affine.hpp.

00182                                                               {
00183     binary_write<C> (out, base (z));
00184     binary_write<VC> (out, slope (z));
00185     binary_write<VC> (out, limits (z)); }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1