Namespaces | Defines | Functions | Variables

src/mmdb_mattype.cpp File Reference

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <limits>
#include <stdio.h>
#include "mmdb_mattype.h"

Namespaces

namespace  mmdb

Defines

#define _fbase   256
#define _rfbase   256.0
#define _fsign   0x80
#define _fsign1   0x7F
#define _nfPowers   255
#define _nfPower0   127
#define _nfPower8   135
#define _nfPower4   130

Functions

bool mmdb::GetVectorMemory (rvector &V, word N, word Shift)
bool mmdb::GetVectorMemory (ivector &I, word N, word Shift)
bool mmdb::GetVectorMemory (wvector &W, word N, word Shift)
bool mmdb::GetVectorMemory (bvector &B, word N, word Shift)
bool mmdb::GetVectorMemory (ovector &O, word N, word Shift)
bool mmdb::GetVectorMemory (lvector &L, word N, word Shift)
bool mmdb::GetVectorMemory (lwvector &L, word N, word Shift)
bool mmdb::GetVectorMemory (psvector &P, word N, word Shift)
void mmdb::FreeVectorMemory (rvector &V, word Shift)
void mmdb::FreeVectorMemory (ivector &I, word Shift)
void mmdb::FreeVectorMemory (wvector &W, word Shift)
void mmdb::FreeVectorMemory (bvector &B, word Shift)
void mmdb::FreeVectorMemory (ovector &O, word Shift)
void mmdb::FreeVectorMemory (lvector &L, word Shift)
void mmdb::FreeVectorMemory (lwvector &L, word Shift)
void mmdb::FreeVectorMemory (psvector &P, word Shift)
bool mmdb::GetMatrixMemory (rmatrix &A, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (imatrix &A, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (wmatrix &W, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (bmatrix &B, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (omatrix &O, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (lmatrix &L, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (lwmatrix &L, word N, word M, word ShiftN, word ShiftM)
bool mmdb::GetMatrixMemory (psmatrix &P, word N, word M, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (rmatrix &A, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (imatrix &A, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (wmatrix &W, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (bmatrix &B, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (omatrix &O, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (lmatrix &L, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (lwmatrix &L, word N, word ShiftN, word ShiftM)
void mmdb::FreeMatrixMemory (psmatrix &P, word N, word ShiftN, word ShiftM)
bool mmdb::GetMatrix3Memory (rmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (imatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (wmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (bmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (omatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (lmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (lwmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
bool mmdb::GetMatrix3Memory (psmatrix3 &A, word N, word M, word K, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (rmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (imatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (wmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (bmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (omatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (lmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (lwmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
void mmdb::FreeMatrix3Memory (psmatrix3 &A, word N, word M, word ShiftN, word ShiftM, word ShiftK)
realtype mmdb::MachinEps ()
realtype mmdb::floatMachinEps ()
realtype mmdb::frac (realtype R)
long mmdb::mod (long x, long y)
realtype mmdb::Pow (realtype X, int y)
realtype mmdb::Pow1 (realtype X, realtype Y)
realtype mmdb::Exp (realtype X)
bool mmdb::Odd (int i)
long mmdb::HexValL (cpstr S)
long mmdb::OctValL (cpstr S)
long mmdb::BinValL (cpstr S)
pstr mmdb::BinValS (long L, pstr S)
pstr mmdb::ParamStr (pstr D, cpstr S, realtype V, int M, cpstr S1)
pstr mmdb::ParamStr (pstr D, cpstr S, realtype V, int M, cpstr S1, realtype V2, int M2, cpstr S2)
pstr mmdb::CreateCopy (pstr &Dest, cpstr Source)
pstr mmdb::CreateCopy_n (pstr &Dest, cpstr Source, int n)
pstr mmdb::CreateCopCat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3, cpstr Source4, cpstr Source5)
pstr mmdb::CreateCopCat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3, cpstr Source4)
pstr mmdb::CreateCopCat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3)
pstr mmdb::CreateCopCat (pstr &Dest, cpstr Source1, cpstr Source2)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3, cpstr Source4, cpstr Source5)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3, cpstr Source4)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source)
pstr mmdb::LastOccurence (cpstr S, char c)
pstr mmdb::FirstOccurence (cpstr S, char c)
int mmdb::indexOf (cpstr S, char c)
pstr mmdb::FirstOccurence (cpstr S, int Slen, cpstr Q, int Qlen)
int mmdb::indexOf (cpstr S, int Slen, cpstr Q, int Qlen)
pstr mmdb::LowerCase (pstr s)
pstr mmdb::UpperCase (pstr s)
void mmdb::GetString (pstr L, cpstr S, int M)
void mmdb::GetStrTer (pstr L, cpstr S, int n, int LMax, int SMax)
void mmdb::GetStrTerWin32File (pstr L, cpstr S, int n, int LMax, int SMax)
void mmdb::strcpy_n (pstr d, cpstr s, int n)
void mmdb::strcpy_n1 (pstr d, cpstr s, int n)
void mmdb::strcpy_nr (pstr d, cpstr s, int n)
void mmdb::strcpy_ns (pstr d, cpstr s, int n)
pstr mmdb::strcpy_cs (pstr d, cpstr s)
pstr mmdb::strcpy_ncs (pstr d, cpstr s, int n)
pstr mmdb::strcpy_css (pstr d, cpstr s)
pstr mmdb::strcpy_ncss (pstr d, cpstr s, int n)
pstr mmdb::strcpy_n0 (pstr d, cpstr s, int n)
int mmdb::strlen_des (cpstr s)
pstr mmdb::strcpy_des (pstr d, cpstr s)
pstr mmdb::strcat_des (pstr d, cpstr s)
void mmdb::PadSpaces (pstr S, int len)
pstr mmdb::CutSpaces (pstr S, int CutKey)
pstr mmdb::DelSpaces (pstr S, char c)
pstr mmdb::EnforceSpaces (pstr S)
bool mmdb::InitFPowers ()
void mmdb::__modify4 ()
void mmdb::set_new_float_unibin ()
bool mmdb::is_new_float_unibin ()
void mmdb::set_old_float_unibin ()
void mmdb::int2UniBin (int I, intUniBin iUB)
void mmdb::short2UniBin (short S, shortUniBin sUB)
void mmdb::long2UniBin (long L, longUniBin lUB)
void mmdb::word2UniBin (word W, wordUniBin wUB)
void mmdb::real2UniBin (realtype R, realUniBin rUB)
void mmdb::shortreal2UniBin (shortreal R, shortrealUniBin srUB)
void mmdb::float2UniBin (realtype R, floatUniBin fUB)
void mmdb::UniBin2float (floatUniBin fUB, realtype &R)
void mmdb::UniBin2int (intUniBin iUB, int &I)
void mmdb::UniBin2short (shortUniBin sUB, short &S)
void mmdb::UniBin2long (longUniBin lUB, long &L)
void mmdb::UniBin2word (wordUniBin wUB, word &W)
void mmdb::UniBin2real (realUniBin rUB, realtype &R)
void mmdb::UniBin2shortreal (shortrealUniBin srUB, shortreal &R)
void mmdb::mem_write (int I, pstr S, int &l)
void mmdb::mem_write (short I, pstr S, int &l)
void mmdb::mem_write (long I, pstr S, int &l)
void mmdb::mem_write (word W, pstr S, int &l)
void mmdb::mem_write (realtype R, pstr S, int &l)
void mmdb::mem_write (shortreal R, pstr S, int &l)
void mmdb::mem_write (pstr L, int len, pstr S, int &l)
void mmdb::mem_write (pstr L, pstr S, int &l)
void mmdb::mem_write (bool B, pstr S, int &l)
void mmdb::mem_write_byte (byte B, pstr S, int &l)
void mmdb::mem_read (int &I, cpstr S, int &l)
void mmdb::mem_read (short &I, cpstr S, int &l)
void mmdb::mem_read (long &I, cpstr S, int &l)
void mmdb::mem_read (word &W, cpstr S, int &l)
void mmdb::mem_read (realtype &R, cpstr S, int &l)
void mmdb::mem_read (shortreal &R, cpstr S, int &l)
void mmdb::mem_read (pstr L, int len, cpstr S, int &l)
void mmdb::mem_read (pstr &L, cpstr S, int &l)
void mmdb::mem_read (bool &B, cpstr S, int &l)
void mmdb::mem_read_byte (byte &B, cpstr S, int &l)
bool mmdb::InitMatType ()

Variables

realtype mmdb::MachEps
realtype mmdb::floatMachEps
realtype mmdb::LnMaxReal
realtype mmdb::LnMinReal

Define Documentation

#define _fbase   256
#define _fsign   0x80
#define _fsign1   0x7F
#define _nfPower0   127
#define _nfPower4   130
#define _nfPower8   135
#define _nfPowers   255
#define _rfbase   256.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines