Namespaces | Functions | Variables

src/mmdb_utils.cpp File Reference

#include <string.h>
#include <math.h>
#include <stdlib.h>
#include "mmdb_utils.h"
#include "hybrid_36.h"

Namespaces

namespace  mmdb

Functions

void mmdb::Date9to11 (cpstr Date9, pstr Date11)
void mmdb::Date11to9 (cpstr Date11, pstr Date9)
void mmdb::Date9toCIF (cpstr Date9, pstr DateCIF)
void mmdb::Date11toCIF (cpstr Date11, pstr DateCIF)
void mmdb::DateCIFto9 (cpstr DateCIF, pstr Date9)
void mmdb::DateCIFto11 (cpstr DateCIF, pstr Date11)
bool mmdb::GetInteger (int &N, cpstr S, int M)
bool mmdb::GetReal (realtype &R, cpstr S, int M)
bool mmdb::GetIntIns (int &N, pstr ins, cpstr S, int M)
void mmdb::PutInteger (pstr S, int N, int M)
void mmdb::PutRealF (pstr S, realtype R, int M, int L)
ERROR_CODE mmdb::CIFGetIntegerD (int &I, mmcif::PLoop Loop, cpstr Tag, int defValue)
ERROR_CODE mmdb::CIFGetInteger (int &I, mmcif::PLoop Loop, cpstr Tag, int &Signal)
ERROR_CODE mmdb::CIFGetInteger1 (int &I, mmcif::PLoop Loop, cpstr Tag, int nrow)
ERROR_CODE mmdb::CIFGetReal (realtype &R, mmcif::PLoop Loop, cpstr Tag, int &Signal)
ERROR_CODE mmdb::CIFGetReal1 (realtype &R, mmcif::PLoop Loop, cpstr Tag, int nrow)
ERROR_CODE mmdb::CIFGetString (pstr S, mmcif::PLoop Loop, cpstr Tag, int row, int SLen, cpstr DefS)
ERROR_CODE mmdb::CIFGetInteger (int &I, mmcif::PStruct Struct, cpstr Tag, bool Remove)
ERROR_CODE mmdb::CIFGetReal (realtype &R, mmcif::PStruct Struct, cpstr Tag, bool Remove)
ERROR_CODE mmdb::CIFGetString (pstr S, mmcif::PStruct Struct, cpstr Tag, int SLen, cpstr DefS, bool Remove)
void mmdb::PutIntIns (pstr S, int N, int M, cpstr ins)
void mmdb::Mat4Inverse (mat44 &A, mat44 &AI)
realtype mmdb::Mat3Inverse (mat33 &A, mat33 &AI)
void mmdb::Mat4Mult (mat44 &A, mat44 &B, mat44 &C)
void mmdb::Mat4Div1 (mat44 &A, mat44 &B, mat44 &C)
void mmdb::Mat4Div2 (mat44 &A, mat44 &B, mat44 &C)
void mmdb::Mat4Init (mat44 &A)
realtype mmdb::Mat4RotDet (mat44 &T)
bool mmdb::isMat4Unit (mat44 &A, realtype eps, bool rotOnly)
void mmdb::Mat3Init (mat33 &A)
void mmdb::Mat4Copy (mat44 &A, mat44 &ACopy)
void mmdb::Mat3Copy (mat33 &A, mat33 &ACopy)
bool mmdb::isMat4Eq (mat44 &A, mat44 &B, realtype eps, bool rotOnly)
void mmdb::TransformXYZ (mat44 &T, realtype &X, realtype &Y, realtype &Z)
realtype mmdb::TransformX (mat44 &T, realtype X, realtype Y, realtype Z)
realtype mmdb::TransformY (mat44 &T, realtype X, realtype Y, realtype Z)
realtype mmdb::TransformZ (mat44 &T, realtype X, realtype Y, realtype Z)
cpstr mmdb::GetErrorDescription (ERROR_CODE ErrorCode)
 mmdb::MakeStreamFunctions (ContString) MakeStreamFunctions(ContainerClass) ClassContainer
 mmdb::MakeStreamFunctions (ClassContainer) AtomPath
 mmdb::MakeStreamFunctions (AtomPath) QuickSort
void mmdb::takeWord (pstr &p, pstr wrd, cpstr ter, int l)
void mmdb::ParseAtomID (cpstr ID, AtomName aname, Element elname, AltLoc aloc)
int mmdb::ParseResID (cpstr ID, int &sn, InsCode inscode, ResName resname)
int mmdb::ParseAtomPath (cpstr ID, int &mdl, ChainID chn, int &sn, InsCode ic, ResName res, AtomName atm, Element elm, AltLoc aloc, PAtomPath DefPath)
int mmdb::ParseSelectionPath (cpstr CID, int &iModel, pstr Chains, int &sNum1, InsCode ic1, int &sNum2, InsCode ic2, pstr RNames, pstr ANames, pstr Elements, pstr altLocs)
void mmdb::MakeSelectionPath (pstr CID, int iModel, cpstr Chains, int sNum1, const InsCode ic1, int sNum2, const InsCode ic2, cpstr RNames, cpstr ANames, cpstr Elements, cpstr altLocs)

Variables

char mmdb::CIFErrorLocation [200] = "no error"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines