Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Molecular_atom< System_, Point > Class Template Reference

A class representing a molecular atom. More...

#include <Molecular_atom.h>

Public Member Functions

const bool & is_hetatm () const
 Get the value of is_hetatm *. More...
 
bool & is_hetatm ()
 Set the value of is_hetatm *. More...
 
const int & atom_serial_number () const
 Get the value of atom_serial_number *. More...
 
int & atom_serial_number ()
 Set the value of atom_serial_number *. More...
 
const std::string & atom_name () const
 Get the value of atom_name *. More...
 
std::string & atom_name ()
 Set the value of atom_name *. More...
 
const char & alternate_location () const
 Get the value of alternate_location *. More...
 
char & alternate_location ()
 Set the value of alternate_location *. More...
 
const double & occupancy () const
 Get the value of occupancy *. More...
 
double & occupancy ()
 Set the value of occupancy *. More...
 
const double & temperature_factor () const
 Get the value of temperature_factor *. More...
 
double & temperature_factor ()
 Set the value of temperature_factor *. More...
 
const std::string & element () const
 Get the value of element *. More...
 
std::string & element ()
 Set the value of element *. More...
 
const int & charge () const
 Get the value of charge *. More...
 
int & charge ()
 Set the value of charge *. More...
 

Detailed Description

template<class System_, class Point>
class SBL::CSB::Molecular_atom< System_, Point >

A class representing a molecular atom.

Template Parameters
SystemThe class representing a molecular system, providing the type definitions for its various components
PointA point type with coordinates and const access methods x(), y(), and z()

Member Function Documentation

◆ alternate_location() [1/2]

char& alternate_location ( )
inline

Set the value of alternate_location *.

*

Parameters
valueThe new value of alternate_location

◆ alternate_location() [2/2]

const char& alternate_location ( ) const
inline

Get the value of alternate_location *.

  • Returns
    The value of alternate_location

◆ atom_name() [1/2]

std::string& atom_name ( )
inline

Set the value of atom_name *.

*

Parameters
valueThe new value of atom_name

◆ atom_name() [2/2]

const std::string& atom_name ( ) const
inline

Get the value of atom_name *.

  • Returns
    The value of atom_name

◆ atom_serial_number() [1/2]

int& atom_serial_number ( )
inline

Set the value of atom_serial_number *.

*

Parameters
valueThe new value of atom_serial_number

◆ atom_serial_number() [2/2]

const int& atom_serial_number ( ) const
inline

Get the value of atom_serial_number *.

  • Returns
    The value of atom_serial_number

◆ charge() [1/2]

int& charge ( )
inline

Set the value of charge *.

*

Parameters
valueThe new value of charge

◆ charge() [2/2]

const int& charge ( ) const
inline

Get the value of charge *.

  • Returns
    The value of charge

◆ element() [1/2]

std::string& element ( )
inline

Set the value of element *.

*

Parameters
valueThe new value of element

◆ element() [2/2]

const std::string& element ( ) const
inline

Get the value of element *.

  • Returns
    The value of element

◆ is_hetatm() [1/2]

bool& is_hetatm ( )
inline

Set the value of is_hetatm *.

*

Parameters
valueThe new value of is_hetatm

◆ is_hetatm() [2/2]

const bool& is_hetatm ( ) const
inline

Get the value of is_hetatm *.

  • Returns
    The value of is_hetatm

◆ occupancy() [1/2]

double& occupancy ( )
inline

Set the value of occupancy *.

*

Parameters
valueThe new value of occupancy

◆ occupancy() [2/2]

const double& occupancy ( ) const
inline

Get the value of occupancy *.

  • Returns
    The value of occupancy

◆ temperature_factor() [1/2]

double& temperature_factor ( )
inline

Set the value of temperature_factor *.

*

Parameters
valueThe new value of temperature_factor

◆ temperature_factor() [2/2]

const double& temperature_factor ( ) const
inline

Get the value of temperature_factor *.

  • Returns
    The value of temperature_factor