next up previous contents
Next: GetItemDependents Up: Item Access Methods Previous: GetItemAliasesDictionary

GetItemAliasesDictionaryVersion

NAME GetItemAliasesDictionaryVersion

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetItemAliasesDictionaryVersion(const char *
                                                    itemName,
                                                    uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numAliases = 0;
char ** aliasDictVersions =
  cb.GetItemAliasesDictionaryVersion("_atom_site.cartn_x",
                                     numAliases);
PURPOSE

GetItemAliasesDictionaryVersion returns an array containing the versions of the dictionaries from which the aliases of the item itemName came.

RECEIVES

itemName the name of the item
n a reference to a uWord to hold the number of aliases

RETURN VALUE

Returns the alias dictionary versions as a char ** or NULL. The number of aliases will be passed back via the second argument.

REMARKS

See also: GetItemAliases
  GetItemAliasesDictionary



Olivera Tosic
6/13/2002