Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Molecular_SS_bond< System > Class Template Reference

A class representing a SS bond between two residues. More...

#include <Molecular_SS_bond.h>

Public Member Functions

const int & index () const
 Get the value of index *. More...
 
int & index ()
 Set the value of index *. More...
 
const std::string & first_residue_name () const
 Get the value of first_residue_name *. More...
 
std::string & first_residue_name ()
 Set the value of first_residue_name *. More...
 
const char & first_residue_chain () const
 Get the value of first_residue_chain *. More...
 
char & first_residue_chain ()
 Set the value of first_residue_chain *. More...
 
const int & first_residue_id () const
 Get the value of first_residue_id *. More...
 
int & first_residue_id ()
 Set the value of first_residue_id *. More...
 
const char & first_residue_inscode () const
 Get the value of first_residue_inscode *. More...
 
char & first_residue_inscode ()
 Set the value of first_residue_inscode *. More...
 
const std::string & second_residue_name () const
 Get the value of second_residue_name *. More...
 
std::string & second_residue_name ()
 Set the value of second_residue_name *. More...
 
const char & second_residue_chain () const
 Get the value of second_residue_chain *. More...
 
char & second_residue_chain ()
 Set the value of second_residue_chain *. More...
 
const int & second_residue_id () const
 Get the value of second_residue_id *. More...
 
int & second_residue_id ()
 Set the value of second_residue_id *. More...
 
const char & second_residue_inscode () const
 Get the value of second_residue_inscode *. More...
 
char & second_residue_inscode ()
 Set the value of second_residue_inscode *. More...
 
Chain & get_first_chain (int model=1)
 
Chain & get_second_chain (int model=1)
 
Residue & get_first_residue (int model=1)
 Returns the first residue of the bond in the given model : More...
 
Residue & get_second_residue (int model=1)
 Returns the second residue of the bond in the given model : More...
 

Detailed Description

template<class System>
class SBL::CSB::Molecular_SS_bond< System >

A class representing a SS bond between two residues.

Template Parameters
SystemThe class representing a molecular system, providing the type definitions for its various components

Member Function Documentation

◆ first_residue_chain() [1/2]

char& first_residue_chain ( )
inline

Set the value of first_residue_chain *.

*

Parameters
valueThe new value of first_residue_chain

◆ first_residue_chain() [2/2]

const char& first_residue_chain ( ) const
inline

Get the value of first_residue_chain *.

  • Returns
    The value of first_residue_chain

◆ first_residue_id() [1/2]

int& first_residue_id ( )
inline

Set the value of first_residue_id *.

*

Parameters
valueThe new value of first_residue_id

◆ first_residue_id() [2/2]

const int& first_residue_id ( ) const
inline

Get the value of first_residue_id *.

  • Returns
    The value of first_residue_id

◆ first_residue_inscode() [1/2]

char& first_residue_inscode ( )
inline

Set the value of first_residue_inscode *.

*

Parameters
valueThe new value of first_residue_inscode

◆ first_residue_inscode() [2/2]

const char& first_residue_inscode ( ) const
inline

Get the value of first_residue_inscode *.

  • Returns
    The value of first_residue_inscode

◆ first_residue_name() [1/2]

std::string& first_residue_name ( )
inline

Set the value of first_residue_name *.

*

Parameters
valueThe new value of first_residue_name

◆ first_residue_name() [2/2]

const std::string& first_residue_name ( ) const
inline

Get the value of first_residue_name *.

  • Returns
    The value of first_residue_name

◆ get_first_chain()

Chain& get_first_chain ( int  model = 1)
inline

Returns the chain of the first residue of the bond in the given model :

◆ get_first_residue()

Residue& get_first_residue ( int  model = 1)
inline

Returns the first residue of the bond in the given model :

◆ get_second_chain()

Chain& get_second_chain ( int  model = 1)
inline

Returns the chain of the second residue of the bond in the given model :

◆ get_second_residue()

Residue& get_second_residue ( int  model = 1)
inline

Returns the second residue of the bond in the given model :

◆ index() [1/2]

int& index ( )
inline

Set the value of index *.

*

Parameters
valueThe new value of index

◆ index() [2/2]

const int& index ( ) const
inline

Get the value of index *.

  • Returns
    The value of index

◆ second_residue_chain() [1/2]

char& second_residue_chain ( )
inline

Set the value of second_residue_chain *.

*

Parameters
valueThe new value of second_residue_chain

◆ second_residue_chain() [2/2]

const char& second_residue_chain ( ) const
inline

Get the value of second_residue_chain *.

  • Returns
    The value of second_residue_chain

◆ second_residue_id() [1/2]

int& second_residue_id ( )
inline

Set the value of second_residue_id *.

*

Parameters
valueThe new value of second_residue_id

◆ second_residue_id() [2/2]

const int& second_residue_id ( ) const
inline

Get the value of second_residue_id *.

  • Returns
    The value of second_residue_id

◆ second_residue_inscode() [1/2]

char& second_residue_inscode ( )
inline

Set the value of second_residue_inscode *.

*

Parameters
valueThe new value of second_residue_inscode

◆ second_residue_inscode() [2/2]

const char& second_residue_inscode ( ) const
inline

Get the value of second_residue_inscode *.

  • Returns
    The value of second_residue_inscode

◆ second_residue_name() [1/2]

std::string& second_residue_name ( )
inline

Set the value of second_residue_name *.

*

Parameters
valueThe new value of second_residue_name

◆ second_residue_name() [2/2]

const std::string& second_residue_name ( ) const
inline

Get the value of second_residue_name *.

  • Returns
    The value of second_residue_name