Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
TermPDB.c File Reference
#include "pdb.h"
#include "macros.h"

Go to the source code of this file.

Functions

PDBblTermPDB (PDB *pdb, int length)
 

Detailed Description

Version
V1.12
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file TermPDB.c.

Function Documentation

PDB* blTermPDB ( PDB pdb,
int  length 
)
Parameters
[in]*pdbPDB linked list
[in]lengthNumber of residues after which to terminate
Returns
Pointer to next residue after terminated list. NULL if not enough residues in linked list.

Terminate a PDB linked list after length residues, returning a pointer to the next residue.

Note that the number of residues may cross chain boundaries.

  • 06.07.95 Original By: ACRM
  • 26.09.95 Corrected update of resnum etc to use p-> not pdb-> (!!)
  • 04.02.14 Use CHAINMATCH macro. By: CTP
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 112 of file TermPDB.c.