* add test export heder to gitignore

* define export macros in separate file

* install new header

* patch GA with the new macros

* fix struct declarations

* fix conformerparser exports

* fix MolSGroupParsing ParseV3000Array export

* fix java wrappers

* export exceptions

* remove duplicated exports

* Build RDGeneral exceptions into lib

* export queries, only for *nix

* fix RingDecomposerLib header manipulation

* fix CIP labeler test issues
This commit is contained in:
Ric
2021-02-15 08:29:04 -05:00
committed by GitHub
parent bd00fda39e
commit c9199cf1da
34 changed files with 150 additions and 93 deletions

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! a Query implementing AND: requires all children to be \c true
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class AndQuery
class RDKIT_QUERY_EXPORT AndQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
typedef Query<MatchFuncArgType, DataFuncArgType, needsConversion> BASE;

View File

@@ -20,7 +20,7 @@ namespace Queries {
template <typename MatchFuncArgType,
typename DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class EqualityQuery
class RDKIT_QUERY_EXPORT EqualityQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
EqualityQuery() { this->df_negate = false; };

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! value (and an optional tolerance)
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class GreaterEqualQuery
class RDKIT_QUERY_EXPORT GreaterEqualQuery
: public EqualityQuery<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
GreaterEqualQuery() { this->d_tol = 0; };

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! value (and an optional tolerance)
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class GreaterQuery
class RDKIT_QUERY_EXPORT GreaterQuery
: public EqualityQuery<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
GreaterQuery() { this->d_tol = 0; };

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! value (and an optional tolerance)
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class LessEqualQuery
class RDKIT_QUERY_EXPORT LessEqualQuery
: public EqualityQuery<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
LessEqualQuery() { this->d_tol = 0; };

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! value (and an optional tolerance)
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class LessQuery
class RDKIT_QUERY_EXPORT LessQuery
: public EqualityQuery<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
LessQuery() { this->d_tol = 0; };

View File

@@ -17,7 +17,7 @@ namespace Queries {
//! a Query implementing AND: requires any child to be \c true
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class OrQuery
class RDKIT_QUERY_EXPORT OrQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
typedef Query<MatchFuncArgType, DataFuncArgType, needsConversion> BASE;

View File

@@ -42,7 +42,7 @@ class Int2Type {
*/
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class Query {
class RDKIT_QUERY_EXPORT Query {
public:
typedef std::shared_ptr<
Query<MatchFuncArgType, DataFuncArgType, needsConversion>>

View File

@@ -24,7 +24,7 @@ namespace Queries {
//! There is also an optional tolerance to be used in comparisons
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class RangeQuery
class RDKIT_QUERY_EXPORT RangeQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
RangeQuery() : d_upper(0), d_lower(0) { this->df_negate = false; };

View File

@@ -22,7 +22,7 @@ namespace Queries {
//!
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class SetQuery
class RDKIT_QUERY_EXPORT SetQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
typedef std::set<MatchFuncArgType> CONTAINER_TYPE;

View File

@@ -18,7 +18,7 @@ namespace Queries {
//! a Query implementing XOR: requires exactly one child to be \c true
template <class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType,
bool needsConversion = false>
class XOrQuery
class RDKIT_QUERY_EXPORT XOrQuery
: public Query<MatchFuncArgType, DataFuncArgType, needsConversion> {
public:
typedef Query<MatchFuncArgType, DataFuncArgType, needsConversion> BASE;