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

Traits class defining mediators' labels for water. Traits class defining mediators' labels for water. More...

#include <Water_label_traits.hpp>

Classes

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

Public Types

enum  Label
 Enumerate one label for the water. More...
 

Static Public Member Functions

static unsigned get_number_of_labels (void)
 Count the number of labels, that is always 1. More...
 
static unsigned get_number_of_primitive_labels (void)
 Count the number of primitive labels, that is always 1. More...
 
static Label get_parent_of (Label label)
 Since there is only one label, return the label itself.
More...
 
static std::string to_string (Label label)
 Return a string representing the label. More...
 

Detailed Description

Traits class defining mediators' labels for water. Traits class defining mediators' labels for water.

Member Enumeration Documentation

◆ Label

enum Label

Enumerate one label for the water.

Member Function Documentation

◆ get_number_of_labels()

static unsigned get_number_of_labels ( void  )
inlinestatic

Count the number of labels, that is always 1.

◆ get_number_of_primitive_labels()

static unsigned get_number_of_primitive_labels ( void  )
inlinestatic

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

◆ get_parent_of()

static Label get_parent_of ( Label  label)
inlinestatic

Since there is only one label, return the label itself.

◆ to_string()

static std::string to_string ( Label  label)
inlinestatic

Return a string representing the label.