Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
#include <AB_label_traits.hpp>
Classes | |
struct | Primitive_label_classifier |
Functor returning a pair classifying a particle. More... | |
Public Types | |
enum | Label { A_LABEL = 1 , B_LABEL = 2 } |
Enumerate the two possible labels A and B. More... | |
typedef T_AB_label_traits< Dummy > | Self |
Static Public Member Functions | |
static unsigned | get_number_of_labels (void) |
Count the number of labels, that is always 2. More... | |
static unsigned | get_number_of_primitive_labels (void) |
Count the number of primitive labels, that is always 2. More... | |
static Label | get_parent_of (Label label) |
All labels being primitives, return the input label itself. More... | |
static std::string | to_string (Label label) |
Return the string representation of the labels. More... | |
typedef T_AB_label_traits<Dummy> Self |
enum Label |
|
inlinestatic |
Count the number of labels, that is always 2.
|
inlinestatic |
Count the number of primitive labels, that is always 2.
All labels being primitives, return the input label itself.
|
inlinestatic |
Return the string representation of the labels.