MemorySearch Class |
MemorySearch ms = new MemorySearch(); ms.AddSdf("compounds.sdf"); MemorySearch.Record[] list = ms.Search("c1ccccc1", MemorySearch.SearchMode.Substructure, 100); ...
Namespace: Scilligence.MolEngine
public class MemorySearch
The MemorySearch type exposes the following members.
| Name | Description | |
|---|---|---|
| MemorySearch | Initializes a new instance of the MemorySearch class | |
| MemorySearch(Boolean) | Initializes a new instance of the MemorySearch class | |
| MemorySearch(MemorySearchRecord) | Initializes a new instance of the MemorySearch class | |
| MemorySearch(Boolean, Boolean) | Initializes a new instance of the MemorySearch class |
| Name | Description | |
|---|---|---|
| All |
Return all records in MememorySearch
| |
| CaseSensitive | ||
| Count |
Returns the total number of records
| |
| HasHits | ||
| Highlighting |
A color to highligh query structure in results. This is only be used in substructure search.
Using Color.Empty if not highlighting it.
| |
| HitCount | ||
| Hits |
Returns all search hits
| |
| Item |
Return the i-th record
| |
| MatchAtomCharge |
The flag to indicate if matching atom formal charge. The default is False.
| |
| MatchAtomType |
The flag to indicate if matching atom types. The default is True.
| |
| MatchBondType |
The flag to indicate if matching bond types. The default is True.
| |
| MatchImplicitH |
The flag to indicate if matching implicit hydogrens. The default is False.
| |
| MatchImplixcitH | ||
| MatchStereoChemistry |
The flag to indicate if matching stereochemistry. The default is False.
| |
| Password |
MolEngine database (*.molengine) can be encrypted with password.
When loading an encrypted MolEngine database, password has to be set before call MemorySearch.Read().
A password can be specified when MemorySearch.Save to MolEngine database
| |
| PrimaryKey |
| Name | Description | |
|---|---|---|
| kColumnFlag | ||
| kColumnStructure | ||
| records | ||
| SharedMode | ||
| Tag |