Daylight v4.9
Release Date: 1 February 2008

Name

dt_smartin - interpret a SMARTS string

Generic Prototype

dt_smartin(dt_String) => dt_Handle

C Prototype

#include "dt_smarts.h"

dt_Handle dt_smartin(dt_Integer strlen, dt_String string)

FORTRAN Prototype

include 'dt_f_smarts.inc'

integer*4 dt_f_smartin(string)

character*() string

Description

Interprets the string as a SMARTS expression. The SMARTS may represent a molecule or reaction pattern. Note that reaction expressions are not allowed as part of recursive SMARTS.

Return Value

Returns a new pattern object or NULL_OB if 'string' is not a valid SMARTS expression. Returns NULL_OB if 'string' is a valid reaction SMARTS but if the reaction toolkit license is not available.

Related Topics

dt_alloc_pathset(3) dt_alloc_vbind(3) dt_getval(3) dt_match(3) dt_name(3) dt_setval(3) dt_smarts_opt(3) dt_umatch(3) dt_vmatch(3)