![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <Pairlist.h>
Public Member Functions | |
| PairList ()=default | |
| PairList (Descriptor ref) | |
| PairList (const PairList &head, const PairList &tail) | |
| Descriptor | getRefDescriptor () const |
| bool | add (Descriptor descriptor) |
| template<typename T> | |
| void | addAll (const T &descriptors) |
| int | compareTo (const PairList &that) const |
| bool | operator< (const PairList &that) const |
| std::string | toString () const |
Static Public Member Functions | |
| static Descriptor | ref (Descriptor descriptor) |
Implementation of a descriptor list that allows descriptors to be added and ignored.
Definition at line 29 of file Pairlist.h.
|
default |
Referenced by compareTo(), operator<(), and PairList().
|
inline |
Definition at line 48 of file Pairlist.h.
Creates a new list from a provided head and tail. The head and tail ignored descriptors are first transferred and then their descriptors. In either list, descriptors that are ignored by the other will be not be added to the new instance.
| head | the head of the list (prefix) |
| tail | the tail of the list (suffix) |
Definition at line 59 of file Pairlist.h.
References addAll(), and PairList().
|
inline |
Adds a descriptor to the descriptor list. If the provided descriptor is present in the ignore set the descriptor will not be added.
| descriptor | the descriptor to add. |
Definition at line 80 of file Pairlist.h.
References RDKit::CIPLabeler::M, RDKit::CIPLabeler::P, RDKit::CIPLabeler::R, ref(), RDKit::CIPLabeler::S, RDKit::CIPLabeler::seqCis, and RDKit::CIPLabeler::seqTrans.
Referenced by addAll(), and PairList().
|
inline |
Adds multiple descriptors to the descriptor list. If the descriptor is present in the ignore set it will not be added to the list.
| descriptors | a collection of descriptors to be added |
Definition at line 102 of file Pairlist.h.
References add().
Referenced by PairList().
|
inline |
|
inline |
Definition at line 65 of file Pairlist.h.
References ref().
|
inline |
Definition at line 128 of file Pairlist.h.
References compareTo(), and PairList().
|
inlinestatic |
Definition at line 31 of file Pairlist.h.
References RDKit::CIPLabeler::M, RDKit::CIPLabeler::NONE, RDKit::CIPLabeler::P, RDKit::CIPLabeler::R, RDKit::CIPLabeler::S, RDKit::CIPLabeler::seqCis, and RDKit::CIPLabeler::seqTrans.
Referenced by add(), getRefDescriptor(), PairList(), and toString().
|
inline |
Definition at line 130 of file Pairlist.h.
References RDKit::CIPLabeler::NONE, ref(), and RDKit::CIPLabeler::to_string().