~ckerr-s/mmdb/cmake

« back to all changes in this revision

Viewing changes to src/mmdb_cryst.h

  • Committer: Morten Kjeldgaard
  • Date: 2015-04-19 21:08:03 UTC
  • Revision ID: mok0@ubuntu.com-20150419210803-o5xw9g0d60722oj8
Tags: mmdb-1.25.6.1
Incorporate upstream updates version 1.25.5. Add fink .info file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
//
22
22
//  =================================================================
23
23
//
24
 
//    08.07.08   <--  Date of Last Modification.
 
24
//    06.02.13   <--  Date of Last Modification.
25
25
//                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
26
//  -----------------------------------------------------------------
27
27
//
34
34
//                  CTVect          ( translation vector class      )
35
35
//                  CMMDBCryst      ( MMDB cryst. section class     )
36
36
//
37
 
//  (C) E. Krissinel 2000-2008
 
37
//  (C) E. Krissinel 2000-2013
38
38
//
39
39
//  =================================================================
40
40
//
172
172
 
173
173
//  =================  CMMDBCryst  =======================
174
174
 
175
 
DefineClass(CMMDBCryst)
176
 
DefineStreamFunctions(CMMDBCryst)
 
175
DefineClass(CMMDBCryst);
 
176
DefineStreamFunctions(CMMDBCryst);
177
177
 
178
178
// constants for the CellCheck field
179
179
#define CCHK_Ok            0x00000000
239
239
                                // 0x1000 - the check was not done
240
240
    word      WhatIsSet;        // indicator of the fields set
241
241
    Boolean   ignoreScalei;     // flag to ignore SCALEi cards
 
242
    Boolean   processSG;        // flag to process space group at file
 
243
                                // read
 
244
    Boolean   fixSpaceGroup;    // flag to fix space group at file read
242
245
 
243
246
    CMMDBCryst ();
244
247
    CMMDBCryst ( RPCStream Object );
252
255
    // successfully converted, otherwise returns a non-negative value
253
256
    // of Error_XXXX.
254
257
    //   PDBString must be not shorter than 81 characters.
255
 
    int   ConvertPDBString ( pstr PDBString, Boolean fixSpaceGroup );
 
258
    int   ConvertPDBString ( pstr PDBString );
256
259
 
257
260
    //   RWBROOKReadPrintout() may be invoked after reading PDB file
258
261
    // for simulating the old RWBROOK messages and warnings
306
309
    // A PDB ASCII dump
307
310
    void  PDBASCIIDump ( RCFile f );
308
311
 
309
 
    int   GetCIF  ( PCMMCIFData CIF, Boolean fixSpaceGroup );
 
312
    int   GetCIF  ( PCMMCIFData CIF );
310
313
    void  MakeCIF ( PCMMCIFData CIF );
311
314
 
312
315
    Boolean areMatrices();  // returns True if the orthogonal-to-