mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-05 22:04:27 +08:00
Add some ExplicitBitVect operations to Swig (#7204)
This commit is contained in:
committed by
greg landrum
parent
fdaf27d8af
commit
3278ac79f4
@@ -86,6 +86,22 @@
|
||||
($self)->getOnBits(*bits);
|
||||
return bits;
|
||||
}
|
||||
|
||||
void andOperator(const ExplicitBitVect & other) {
|
||||
*($self) &= other;
|
||||
}
|
||||
|
||||
void orOperator(const ExplicitBitVect & other) {
|
||||
*($self) |= other;
|
||||
}
|
||||
|
||||
void xorOperator(const ExplicitBitVect & other) {
|
||||
*($self) ^= other;
|
||||
}
|
||||
|
||||
void copy(const ExplicitBitVect &other) {
|
||||
*($self) = other;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SWIGJAVA
|
||||
|
||||
Reference in New Issue
Block a user