Namespaces | Defines | Typedefs | Enumerations | Functions | Variables

src/mmdb_mattype.h File Reference

#include <math.h>

Go to the source code of this file.

Namespaces

namespace  mmdb

Defines

#define UseDoubleFloat
#define __ClassMacros
#define DefineClass(ClassName)
#define DefineStructure(StructureName)
#define UNUSED_ARGUMENT(x)   (void)x
#define strrchr   LastOccurence
#define fstrrchr   LastOccurence
#define strchr   FirstOccurence
#define fstrchr   FirstOccurence

Typedefs

typedef double mmdb::realtype
typedef float mmdb::shortreal
typedef char * mmdb::pstr
typedef const char * mmdb::cpstr
typedef unsigned int mmdb::word
typedef unsigned char mmdb::byte
typedef signed char mmdb::short_int
typedef unsigned int mmdb::word2
typedef byte * mmdb::byteptr
typedef unsigned long mmdb::lword
typedef byte mmdb::intUniBin [4]
typedef byte mmdb::shortUniBin [2]
typedef byte mmdb::longUniBin [4]
typedef byte mmdb::wordUniBin [4]
typedef byte mmdb::realUniBin [10]
typedef byte mmdb::floatUniBin [5]
typedef byte mmdb::shortrealUniBin [5]
typedef realtype * mmdb::rvector
typedef int * mmdb::ivector
typedef word * mmdb::wvector
typedef byte * mmdb::bvector
typedef bool * mmdb::ovector
typedef long * mmdb::lvector
typedef lword * mmdb::lwvector
typedef pstr * mmdb::psvector
typedef rvector * mmdb::rmatrix
typedef ivector * mmdb::imatrix
typedef wvector * mmdb::wmatrix
typedef bvector * mmdb::bmatrix
typedef ovector * mmdb::omatrix
typedef lvector * mmdb::lmatrix
typedef lwvector * mmdb::lwmatrix
typedef psvector * mmdb::psmatrix
typedef rmatrix * mmdb::rmatrix3
typedef imatrix * mmdb::imatrix3
typedef wmatrix * mmdb::wmatrix3
typedef bmatrix * mmdb::bmatrix3
typedef omatrix * mmdb::omatrix3
typedef lmatrix * mmdb::lmatrix3
typedef lwmatrix * mmdb::lwmatrix3
typedef psmatrix * mmdb::psmatrix3

Enumerations

enum  mmdb::SCUTKEY { mmdb::SCUTKEY_BEGIN = 0x00000001, mmdb::SCUTKEY_END = 0x00000002, mmdb::SCUTKEY_BEGEND = 0x00000003 }

Functions

bool mmdb::InitMatType ()
int mmdb::mround (realtype X)
int mmdb::ifloor (realtype X)
int mmdb::Abs (int x)
void mmdb::ISwap (int &x, int &y)
void mmdb::WSwap (word &x, word &y)
void mmdb::BSwap (byte &x, byte &y)
void mmdb::OSwap (bool &x, bool &y)
void mmdb::LSwap (long &x, long &y)
void mmdb::RSwap (realtype &x, realtype &y)
realtype mmdb::RMax (const realtype x1, const realtype x2)
long mmdb::LMax (const long x1, const long x2)
word mmdb::WMax (const word x1, const word x2)
int mmdb::IMax (const int x1, const int x2)
realtype mmdb::RMin (const realtype x1, const realtype x2)
long mmdb::LMin (const long x1, const long x2)
word mmdb::WMin (const word x1, const word x2)
int mmdb::IMin (const int x1, const int x2)
realtype mmdb::fsign (const realtype x1, const realtype x2)
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::CreateConcat (pstr &Dest, cpstr Source)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3)
pstr mmdb::CreateConcat (pstr &Dest, cpstr Source1, cpstr Source2, cpstr Source3, cpstr Source4)
pstr mmdb::CreateConcat (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, 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::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)
void mmdb::set_new_float_unibin ()
bool mmdb::is_new_float_unibin ()
void mmdb::set_old_float_unibin ()
void mmdb::__modify4 ()
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::float2UniBin (realtype R, floatUniBin fUB)
void mmdb::shortreal2UniBin (shortreal R, shortrealUniBin srUB)
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::UniBin2float (floatUniBin fUB, realtype &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)

Variables

const realtype mmdb::MinReal = 2.2250e-307
const realtype mmdb::MaxReal = 1.7976e+308
const realtype mmdb::fMinReal = 2.2250e-307
const realtype mmdb::fMaxReal = 1.7976e+308
const shortreal mmdb::MinShortReal = 1.1755e-38
const shortreal mmdb::MaxShortReal = 3.4020e+38
const int mmdb::MaxInt = 32767
const int mmdb::MinInt = -32768
const word mmdb::MaxWord = 65535L
const long int mmdb::MaxInt4 = 2147483647L
const long int mmdb::MinInt4 = -2147483647
const lword mmdb::MaxWord4 = 4294967295UL
const realtype mmdb::Pi = 3.141592653589793238462643
const realtype mmdb::Eu = 2.718281828459045235360287
const realtype mmdb::ln10 = 2.3025850929940456840179915

Define Documentation

#define __ClassMacros
#define DefineClass (   ClassName )
Value:
class ClassName;                         \
   typedef ClassName    * P##ClassName;     \
   typedef ClassName    & R##ClassName;     \
   typedef P##ClassName * PP##ClassName;    \
   typedef P##ClassName & RP##ClassName;
#define DefineStructure (   StructureName )
Value:
struct StructureName;                            \
   typedef StructureName    * P##StructureName;     \
   typedef StructureName    & R##StructureName;     \
   typedef P##StructureName * PP##StructureName;    \
   typedef P##StructureName & RP##StructureName;
#define fstrchr   FirstOccurence
#define fstrrchr   LastOccurence
#define strchr   FirstOccurence
#define strrchr   LastOccurence
#define UNUSED_ARGUMENT (   x )    (void)x
#define UseDoubleFloat
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines