Traits class defining partners' labels for binary molecular complexes A and B. Traits class defining partners' labels for binary molecular complexes A and B.
More...
#include <AB_label_traits.hpp>
|
enum | Label |
| Enumerate the two possible labels A and B. More...
|
|
|
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...
|
|
Traits class defining partners' labels for binary molecular complexes A and B. Traits class defining partners' labels for binary molecular complexes A and B.
◆ Label
Enumerate the two possible labels A and B.
◆ get_number_of_labels()
static unsigned get_number_of_labels |
( |
void |
| ) |
|
|
inlinestaticinherited |
Count the number of labels, that is always 2.
◆ get_number_of_primitive_labels()
static unsigned get_number_of_primitive_labels |
( |
void |
| ) |
|
|
inlinestaticinherited |
Count the number of primitive labels, that is always 2.
◆ get_parent_of()
static Label get_parent_of |
( |
Label |
label | ) |
|
|
inlinestaticinherited |
All labels being primitives, return the input label itself.
◆ to_string()
static std::string to_string |
( |
Label |
label | ) |
|
|
inlinestaticinherited |
Return the string representation of the labels.