Files
rdkit/Code/JavaWrappers/MolEnumerator.i
Greg Landrum 73d26036de Support enumerating some mol file features into MolBundles (#3257)
* backup

* compiles

* progress, but not there yet

* basics now working

* start towards adding another test

* test having two variation points

* add actual enumeration and the corresponding tests

* docs and cleanup

* cleanups to get the mac build working

* attempt to get win32 dll builds to work

* dlls are fun

* Add FixedMolSizeMolBundle class

* changes in response to review

Also: add warnings for bad input in ParseV3000Array

* a bit of refactoring

* additional testing

* does not work, backup

* LINKNODES work now

* cleanup

* allow silencing reaction validation warnings during initialization

* docs

* fix (and test) handling of empty enumerations

* silence warnings when doing alchemy

* first pass at a Python wrapper for the enumerator

* Add Java wrappers for MolBundle and the MolEnumerator

* cleanup some comment formatting
2020-07-11 12:54:23 +02:00

45 lines
1.3 KiB
OpenEdge ABL

/*
*
* Copyright (c) 2020, Greg Landrum and T5 Informatics GmbH
* All rights reserved.
*
* This file is part of the RDKit.
* The contents are covered by the terms of the BSD license
* which is included in the file license.txt, found at the root
* of the RDKit source tree.
*
*/
%{
#include <GraphMol/MolEnumerator/MolEnumerator.h>
%}
#if 0
%ignore RDKit::MolEnumerator::MolEnumeratorOp::operator();
%ignore RDKit::MolEnumerator::MolEnumeratorOp::copy;
%ignore RDKit::MolEnumerator::PositionVariationOp::operator();
%ignore RDKit::MolEnumerator::PositionVariationOp::copy;
%ignore RDKit::MolEnumerator::LinkNodeOp::operator();
%ignore RDKit::MolEnumerator::LinkNodeOp::copy;
#endif
%ignore RDKit::MolEnumerator::MolEnumeratorOp;
%ignore RDKit::MolEnumerator::PositionVariationOp;
%ignore RDKit::MolEnumerator::LinkNodeOp;
%inline %{
RDKit::MolEnumerator::MolEnumeratorParams getLinkNodeParams(){
RDKit::MolEnumerator::MolEnumeratorParams res;
res.dp_operation.reset(new RDKit::MolEnumerator::LinkNodeOp());
return res;
}
RDKit::MolEnumerator::MolEnumeratorParams getPositionVariationParams(){
RDKit::MolEnumerator::MolEnumeratorParams res;
res.dp_operation.reset(new RDKit::MolEnumerator::PositionVariationOp());
return res;
}
%}
%include<GraphMol/MolEnumerator/MolEnumerator.h>