numerix_doc 0.4
binary_helper< integer > Struct Template Reference

#include <integer.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<>
struct mmx::binary_helper< integer >

Definition at line 1026 of file integer.hpp.


Member Function Documentation

static integer assemble ( const generic &  x) [inline, static]

Definition at line 1031 of file integer.hpp.

                                                    {
    return integer (as<string> (x)); }
static generic disassemble ( const integer x) [inline, static]

Definition at line 1029 of file integer.hpp.

References mmx::as_string().

                                                       {
    return as<generic> (as_string (x)); }
static generic full_type_name ( ) [inline, static]

Definition at line 1028 of file integer.hpp.

{ return "Integer"; }
static integer read ( const port &  in) [inline, static]

Definition at line 1035 of file integer.hpp.

References mmx::mpz_binary_read().

                                              {
    integer i; mpz_binary_read (in, *i); return i; }
static string short_type_name ( ) [inline, static]

Definition at line 1027 of file integer.hpp.

{ return "Z"; }
static void write ( const port &  out,
const integer i 
) [inline, static]

Definition at line 1033 of file integer.hpp.

References mmx::mpz_binary_write().

                                                               {
    mpz_binary_write (out, *i); }

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