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
SMARTSException
public SmartsPatternCDK(String smarts, boolean negate) throws SMARTSException
SMARTSException
public 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>
SMARTSException
public int hasSMARTSPattern(org.openscience.cdk.interfaces.IAtomContainer mol) throws SMARTSException
SMARTSException
public 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
SMARTSException
public List<List<Integer>> getUniqueMatchingAtoms(org.openscience.cdk.interfaces.IAtomContainer mol) throws SMARTSException
SMARTSException
public void useMOEvPrimitive(boolean flag) throws UnsupportedOperationException
UnsupportedOperationException
public List<List<Integer>> getUniqueMatchingAtoms() throws SMARTSException
getUniqueMatchingAtoms
in interface ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
getUniqueMatchingAtoms
in class AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
SMARTSException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.