mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* 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:
@@ -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;
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>>
|
||||
|
||||
@@ -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; };
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user