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

Wrapper representing the atom. More...

#include <Atom_with_flat_info_traits.hpp>

Public Types

typedef T_Atom_with_flat_info< NT > Self
 
typedef NT FT
 

Public Member Functions

 T_Atom_with_flat_info (void)
 
template<class ParticleBase >
 T_Atom_with_flat_info (const ParticleBase &particle)
 
bool is_fake (void) const
 
unsigned get_index (void) const
 
bool is_atom (void) const
 
bool is_hetatm (void) const
 
unsigned atom_serial_number (void) const
 
const std::string & atom_name (void) const
 Returns the PDB name of the atom. More...
 
char alternate_location (void) const
 
const std::string & residue_name (void) const
 Returns the name of the residue containing this atom. More...
 
char chain_identifier (void) const
 
int residue_sequence_number (void) const
 
char insertion_code (void) const
 
const FTx (void) const
 
const FTy (void) const
 
const FTz (void) const
 
const FToccupancy (void) const
 
const FTtemperature_factor (void) const
 
const std::string & element (void) const
 
int charge (void) const
 
int system_index (void) const
 
template<class ParticleType >
void build (const ParticleType &particle)
 
void build (const Self &particle)
 
void build (void)
 
std::string to_pdb (void) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned version)
 

Detailed Description

template<class NT>
class SBL::Models::T_Atom_with_flat_info< NT >

Wrapper representing the atom.

In particular, the data structure is serializible.

Member Typedef Documentation

◆ FT

typedef NT FT

◆ Self

Constructor & Destructor Documentation

◆ T_Atom_with_flat_info() [1/2]

T_Atom_with_flat_info ( void  )
inline

◆ T_Atom_with_flat_info() [2/2]

T_Atom_with_flat_info ( const ParticleBase &  particle)
inline

Member Function Documentation

◆ alternate_location()

char alternate_location ( void  ) const
inline

◆ atom_name()

const std::string& atom_name ( void  ) const
inline

Returns the PDB name of the atom.

◆ atom_serial_number()

unsigned atom_serial_number ( void  ) const
inline

◆ build() [1/3]

void build ( const ParticleType &  particle)
inline

◆ build() [2/3]

void build ( const Self particle)
inline

◆ build() [3/3]

void build ( void  )
inline

◆ chain_identifier()

char chain_identifier ( void  ) const
inline

◆ charge()

int charge ( void  ) const
inline

◆ element()

const std::string& element ( void  ) const
inline

◆ get_index()

unsigned get_index ( void  ) const
inline

◆ insertion_code()

char insertion_code ( void  ) const
inline

◆ is_atom()

bool is_atom ( void  ) const
inline

◆ is_fake()

bool is_fake ( void  ) const
inline

◆ is_hetatm()

bool is_hetatm ( void  ) const
inline

◆ occupancy()

const FT& occupancy ( void  ) const
inline

◆ residue_name()

const std::string& residue_name ( void  ) const
inline

Returns the name of the residue containing this atom.

◆ residue_sequence_number()

int residue_sequence_number ( void  ) const
inline

◆ serialize()

void serialize ( Archive &  ar,
const unsigned  version 
)
inline

◆ system_index()

int system_index ( void  ) const
inline

◆ temperature_factor()

const FT& temperature_factor ( void  ) const
inline

◆ to_pdb()

std::string to_pdb ( void  ) const
inline

◆ x()

const FT& x ( void  ) const
inline

◆ y()

const FT& y ( void  ) const
inline

◆ z()

const FT& z ( void  ) const
inline