public class SmartsPatternCDK extends AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
| Modifier and Type | Field and Description |
|---|---|
protected org.openscience.cdk.smiles.smarts.SMARTSQueryTool |
sqt |
| Constructor and Description |
|---|
SmartsPatternCDK() |
SmartsPatternCDK(String smarts) |
SmartsPatternCDK(String smarts,
boolean negate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getImplementationDetails() |
org.openscience.cdk.interfaces.IAtomContainer |
getMatchingStructure(org.openscience.cdk.interfaces.IAtomContainer mol) |
org.openscience.cdk.interfaces.IAtomContainer |
getObjectToVerify(org.openscience.cdk.interfaces.IAtomContainer mol) |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
getQuery() |
String |
getSmarts() |
List<List<Integer>> |
getUniqueMatchingAtoms()
For backward compatibility
|
List<List<Integer>> |
getUniqueMatchingAtoms(org.openscience.cdk.interfaces.IAtomContainer mol) |
int |
hasSMARTSPattern(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setSmarts(String smarts) |
void |
useMOEvPrimitive(boolean flag) |
public SmartsPatternCDK()
public SmartsPatternCDK(String smarts) throws SMARTSException
SMARTSExceptionpublic SmartsPatternCDK(String smarts, boolean negate) throws SMARTSException
SMARTSExceptionpublic org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer getQuery()
public String getSmarts()
getSmarts in interface ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>getSmarts in class AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>public void setSmarts(String smarts) throws SMARTSException
setSmarts in interface ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>setSmarts in class AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>SMARTSExceptionpublic int hasSMARTSPattern(org.openscience.cdk.interfaces.IAtomContainer mol)
throws SMARTSException
SMARTSExceptionpublic org.openscience.cdk.interfaces.IAtomContainer getObjectToVerify(org.openscience.cdk.interfaces.IAtomContainer mol)
public String getImplementationDetails()
public org.openscience.cdk.interfaces.IAtomContainer getMatchingStructure(org.openscience.cdk.interfaces.IAtomContainer mol)
throws SMARTSException
SMARTSExceptionpublic List<List<Integer>> getUniqueMatchingAtoms(org.openscience.cdk.interfaces.IAtomContainer mol) throws SMARTSException
SMARTSExceptionpublic void useMOEvPrimitive(boolean flag)
throws UnsupportedOperationException
UnsupportedOperationExceptionpublic List<List<Integer>> getUniqueMatchingAtoms() throws SMARTSException
getUniqueMatchingAtoms in interface ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>getUniqueMatchingAtoms in class AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>SMARTSExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.