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.
|
| static unsigned | get_number_of_primitive_labels (void) |
| | Count the number of primitive labels, that is always 2.
|
| static Label | get_parent_of (Label label) |
| | All labels being primitives, return the input label itself.
|
| static std::string | to_string (Label label) |
| | Return the string representation of the labels.
|
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
template<
class Dummy = void>
Enumerate the two possible labels A and B.
◆ get_number_of_labels()
template<
class Dummy = void>
| unsigned get_number_of_labels |
( |
void | | ) |
|
|
inlinestaticinherited |
Count the number of labels, that is always 2.
◆ get_number_of_primitive_labels()
template<
class Dummy = void>
| unsigned get_number_of_primitive_labels |
( |
void | | ) |
|
|
inlinestaticinherited |
Count the number of primitive labels, that is always 2.
◆ get_parent_of()
template<
class Dummy = void>
| Label get_parent_of |
( |
Label | label | ) |
|
|
inlinestaticinherited |
All labels being primitives, return the input label itself.
◆ to_string()
template<
class Dummy = void>
| std::string to_string |
( |
Label | label | ) |
|
|
inlinestaticinherited |
Return the string representation of the labels.