#include <AB_label_traits.hpp>
◆ Self
◆ Label
Enumerate the two possible labels A and B.
| Enumerator |
|---|
| A_LABEL | |
| B_LABEL | |
◆ get_number_of_labels()
| static unsigned get_number_of_labels |
( |
void |
| ) |
|
|
inlinestatic |
Count the number of labels, that is always 2.
◆ get_number_of_primitive_labels()
| static unsigned get_number_of_primitive_labels |
( |
void |
| ) |
|
|
inlinestatic |
Count the number of primitive labels, that is always 2.
◆ get_parent_of()
All labels being primitives, return the input label itself.
◆ to_string()
| static std::string to_string |
( |
Label |
label | ) |
|
|
inlinestatic |
Return the string representation of the labels.