public class SmartsParser extends Object
Modifier and Type | Field and Description |
---|---|
List<Integer> |
fragmentComponents |
List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> |
fragments |
boolean |
hasRecursiveSmarts |
int |
maxCompNumber |
boolean |
mSupportDoubleBondAromaticityNotSpecified |
boolean |
mSupportMOEExtension |
boolean |
mSupportOpenBabelExtension |
boolean |
mSupportOpenEyeExtension |
boolean |
mSupportSingleBondAromaticityNotSpecified |
boolean |
mSupportSmirksSyntax |
boolean |
mUseMOEvPrimitive |
int |
numFragments |
Constructor and Description |
---|
SmartsParser() |
Modifier and Type | Method and Description |
---|---|
int[] |
getAtomNeighbourCode(org.openscience.cdk.interfaces.IAtom center,
org.openscience.cdk.interfaces.IAtom neighAtom) |
String |
getErrorMessages() |
List<SmartsParserError> |
getErrors() |
static int[] |
getExplicitHAtomData(org.openscience.cdk.interfaces.IAtomContainer container) |
int |
getLastAtomToken() |
static List<int[]> |
getRindData(org.openscience.cdk.interfaces.IAtomContainer container,
org.openscience.cdk.interfaces.IRingSet ringSet) |
static List<int[]> |
getRindData2(org.openscience.cdk.interfaces.IAtomContainer container,
org.openscience.cdk.interfaces.IRingSet ringSet) |
static int |
getRingNumberInRingSet(org.openscience.cdk.interfaces.IAtomContainer ring,
org.openscience.cdk.interfaces.IRingSet rs) |
boolean |
needExplicitHData() |
boolean |
needNeighbourData() |
boolean |
needParentMoleculeData() |
boolean |
needRingData() |
boolean |
needRingData2() |
boolean |
needValencyData() |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
parse(String sm) |
void |
parseAP_RecursiveSmarts() |
static void |
prepareTargetForSMARTSSearch(boolean neighbourData,
boolean valenceData,
boolean ringData,
boolean ringData2,
boolean explicitHData,
boolean parentMoleculeData,
org.openscience.cdk.interfaces.IAtomContainer container) |
static void |
prepareTargetForSMARTSSearch(SmartsFlags flags,
org.openscience.cdk.interfaces.IAtomContainer container) |
static void |
prepareTargetForSMARTSSearchFull(org.openscience.cdk.interfaces.IAtomContainer container) |
void |
setComponentLevelGrouping(boolean flag) |
static void |
setExplicitHAtomData(org.openscience.cdk.interfaces.IAtomContainer container) |
void |
setNeededDataFlags() |
static void |
setNeighbourData(org.openscience.cdk.interfaces.IAtomContainer container) |
static void |
setParentMoleculeData(org.openscience.cdk.interfaces.IAtomContainer container) |
static void |
setRingData(org.openscience.cdk.interfaces.IAtomContainer container,
boolean rData,
boolean rData2) |
void |
setSMARTSData(org.openscience.cdk.interfaces.IAtomContainer container) |
static void |
setValenceData(org.openscience.cdk.interfaces.IAtomContainer container) |
int |
testFor2CharElement() |
void |
testForDefaultAND() |
public boolean hasRecursiveSmarts
public boolean mSupportMOEExtension
public boolean mUseMOEvPrimitive
public boolean mSupportOpenEyeExtension
public boolean mSupportOpenBabelExtension
public boolean mSupportSmirksSyntax
public boolean mSupportDoubleBondAromaticityNotSpecified
public boolean mSupportSingleBondAromaticityNotSpecified
public int numFragments
public int maxCompNumber
public List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> fragments
public org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer parse(String sm)
public void setComponentLevelGrouping(boolean flag)
public boolean needNeighbourData()
public boolean needExplicitHData()
public boolean needValencyData()
public boolean needRingData()
public boolean needRingData2()
public boolean needParentMoleculeData()
public void setNeededDataFlags()
public String getErrorMessages()
public List<SmartsParserError> getErrors()
public void testForDefaultAND()
public int testFor2CharElement()
public int getLastAtomToken()
public void parseAP_RecursiveSmarts()
public int[] getAtomNeighbourCode(org.openscience.cdk.interfaces.IAtom center, org.openscience.cdk.interfaces.IAtom neighAtom)
public void setSMARTSData(org.openscience.cdk.interfaces.IAtomContainer container) throws Exception
Exception
public static void prepareTargetForSMARTSSearch(boolean neighbourData, boolean valenceData, boolean ringData, boolean ringData2, boolean explicitHData, boolean parentMoleculeData, org.openscience.cdk.interfaces.IAtomContainer container) throws Exception
Exception
public static void prepareTargetForSMARTSSearchFull(org.openscience.cdk.interfaces.IAtomContainer container)
public static void prepareTargetForSMARTSSearch(SmartsFlags flags, org.openscience.cdk.interfaces.IAtomContainer container)
public static void setNeighbourData(org.openscience.cdk.interfaces.IAtomContainer container)
public static void setValenceData(org.openscience.cdk.interfaces.IAtomContainer container)
public static void setExplicitHAtomData(org.openscience.cdk.interfaces.IAtomContainer container)
public static int[] getExplicitHAtomData(org.openscience.cdk.interfaces.IAtomContainer container)
public static void setRingData(org.openscience.cdk.interfaces.IAtomContainer container, boolean rData, boolean rData2)
public static List<int[]> getRindData(org.openscience.cdk.interfaces.IAtomContainer container, org.openscience.cdk.interfaces.IRingSet ringSet)
public static List<int[]> getRindData2(org.openscience.cdk.interfaces.IAtomContainer container, org.openscience.cdk.interfaces.IRingSet ringSet)
public static int getRingNumberInRingSet(org.openscience.cdk.interfaces.IAtomContainer ring, org.openscience.cdk.interfaces.IRingSet rs)
public static void setParentMoleculeData(org.openscience.cdk.interfaces.IAtomContainer container)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.