RCSB PDB Protein Data Bank A Member of the wwPDB
An Information Portal to Biological Macromolecular Structures
PDB Home | Contact Us
next up previous contents
Next: ndb_cif_item_row_2_key Up: Function Description Previous: ndb_cif_item_values_strncmp

ndb_cif_item_row_1_key

NAME ndb_cif_item_row_1_key

PROTOTYPE

#include "cifparse.h"

int ndb_cif_item_row_1_key(CifHandle *cf,
                           const int colId,
                           char *fieldValue);
PURPOSE

ndb_cif_item_row_1_key in the CifHandle data stucture specified by cf examines all the rows and return the row number if the fieldValue is found in the column specified by colId, and also set the current row to the row where the value was found.

RECEIVES

cf pointer to the CifHandle data structure
colId identifies the column
fieldValue pointer to the value which is being looked for

RETURN VALUE

Returns the row number where the value were found or 0 for failure.

REMARKS

See also: ndb_cif_item_row_2_key
  ndb_cif_item_row_3_key
  ndb_cif_item_row_4_key



Olivera Tosic
6/12/2002

 

© RCSB PDB