Daylight v4.9
Release Date: 1 February 2008

Name

dt_member - test if an object is a member of a compound object

Generic Prototype

dt_member(dt_Handle, dt_Handle) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_member(dt_Handle set, dt_Handle object)

FORTRAN Prototype

include 'dt_f_smiles.inc'

logical dt_f_member(set, object)

integer*4 set
integer*4 object

Description

Determine if the given object is a member of the path, substructure, or pathset. For a pathset, object may be an atom or bond, and the object is considered a member if any path within the pathset contains the object.

Return Value

Returns TRUE if the object is a member of the given path, substructure, or pathset. For all other object types, this property is defined as FALSE.

Related Topics

dt_add(3) dt_alloc_path(3) dt_alloc_pathset(3) dt_alloc_substruct(3) dt_match(3) dt_remove(3) dt_umatch(3) dt_vmatch(3)