Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
AB_label_traits Class Reference

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"

Public Types

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...
 

Detailed Description

Traits class defining partners' labels for binary molecular complexes A and B.

Traits class defining partners' labels for binary molecular complexes A and B.

Member Enumeration Documentation

enum Label
inherited

Enumerate the two possible labels A and B.

Member Function Documentation

static unsigned get_number_of_labels ( void  )
inlinestaticinherited

Count the number of labels, that is always 2.

static unsigned get_number_of_primitive_labels ( void  )
inlinestaticinherited

Count the number of primitive labels, that is always 2.

static Label get_parent_of ( Label  label)
inlinestaticinherited

All labels being primitives, return the input label itself.

static std::string to_string ( Label  label)
inlinestaticinherited

Return the string representation of the labels.