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: GetDictionaryItemTypeListConstruct Up: Dictionary Access Methods Previous: GetDictionaryItemTypeListCode

GetDictionaryItemTypeListPrimitiveCode

NAME GetDictionaryItemTypeListPrimitiveCode

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetDictionaryItemTypeListPrimitiveCode(uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

cb.BuildDictionaryList();
cb.SetContext("cifdic.m96");

uWord numPC = 0;
char ** itemTypeListPrimitiveCode = 
 cb.GetDictionaryItemTypeListPrimitiveCode(numPC);
PURPOSE

GetDictionaryItemTypeListPrimitiveCode returns a list of the primitive codes of the item data types in the current dictionary datablock (context).

RECEIVES

n a reference to a uWord to hold the number of item data types

RETURN VALUE

Returns the list of primitive codes as a char ** or NULL. The number of item data types will be passed back via the argument.

REMARKS

See also: GetDictionaryItemTypeListCode
  GetDictionaryItemTypeListConstruct
  GetDictionaryItemTypeListDetail



Olivera Tosic
6/13/2002

 

© RCSB PDB