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

Traits class defining no system's label. Traits class defining no system's label. More...

#include <No_label_traits.hpp>

Classes

struct  Primitive_label_classifier
 Functor returning a pair classifying a particle. More...
 

Public Types

enum  Label
 Enumerate no label. More...
 

Static Public Member Functions

static unsigned get_number_of_labels (void)
 Count the number of labels, that is always 0. More...
 
static unsigned get_number_of_primitive_labels (void)
 Count the number of primitive labels, that is always 0. More...
 
static Label get_parent_of (Label label)
 There is no parent since there is no label. More...
 
static std::string to_string (Label label)
 Return a string representing the label. More...
 

Detailed Description

Traits class defining no system's label. Traits class defining no system's label.

Member Enumeration Documentation

◆ Label

enum Label

Enumerate no label.

Member Function Documentation

◆ get_number_of_labels()

static unsigned get_number_of_labels ( void  )
inlinestatic

Count the number of labels, that is always 0.

◆ get_number_of_primitive_labels()

static unsigned get_number_of_primitive_labels ( void  )
inlinestatic

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

◆ get_parent_of()

static Label get_parent_of ( Label  label)
inlinestatic

There is no parent since there is no label.

◆ to_string()

static std::string to_string ( Label  label)
inlinestatic

Return a string representing the label.