Pteros  2.0
Molecular modeling library for human beings!
pteros::Atom_proxy Class Reference

Auxilary type used to incapsulate the atom and its current coordinates Used internally in Selection::operator[] and in iterator access to Selection. More...

#include <atom_proxy.h>

Public Member Functions

 Atom_proxy (Selection *s, int i)
 
bool operator== (const Atom_proxy &other) const
 Equality operator.
 
bool operator!= (const Atom_proxy &other) const
 Inequality operator.
 
 Atom_proxy (Selection *s, int i)
 
bool operator== (const Atom_proxy &other) const
 Equality operator.
 
bool operator!= (const Atom_proxy &other) const
 Inequality operator.
 
Inline accessors. Const and non-const versions.
int & Resid ()
 
const int & Resid () const
 
int & Index ()
 
const int & Index () const
 
std::string & Name ()
 
const std::string & Name () const
 
char & Chain ()
 
const char & Chain () const
 
std::string & Resname ()
 
const std::string & Resname () const
 
std::string & Tag ()
 
const std::string & Tag () const
 
float & Occupancy ()
 
const float & Occupancy () const
 
float & Beta ()
 
const float & Beta () const
 
int & Resindex ()
 
const int & Resindex () const
 
float & Mass ()
 
const float & Mass () const
 
float & Charge ()
 
const float & Charge () const
 
int & Type ()
 
const int & Type () const
 
std::string & Type_name ()
 
const std::string & Type_name () const
 
float & X ()
 
const float & X () const
 
float & Y ()
 
const float & Y () const
 
float & Z ()
 
const float & Z () const
 
Eigen::Vector3f & XYZ ()
 
const Eigen::Vector3f & XYZ () const
 
float & X (int fr)
 
const float & X (int fr) const
 
float & Y (int fr)
 
const float & Y (int fr) const
 
float & Z (int fr)
 
const float & Z (int fr) const
 
Eigen::Vector3f & XYZ (int fr)
 
const Eigen::Vector3f & XYZ (int fr) const
 
AtomAtom_data ()
 
const AtomAtom_data () const
 
int & Resid ()
 
const int & Resid () const
 
int & Index ()
 
const int & Index () const
 
std::string & Name ()
 
const std::string & Name () const
 
char & Chain ()
 
const char & Chain () const
 
std::string & Resname ()
 
const std::string & Resname () const
 
std::string & Tag ()
 
const std::string & Tag () const
 
float & Occupancy ()
 
const float & Occupancy () const
 
float & Beta ()
 
const float & Beta () const
 
int & Resindex ()
 
const int & Resindex () const
 
float & Mass ()
 
const float & Mass () const
 
float & Charge ()
 
const float & Charge () const
 
int & Type ()
 
const int & Type () const
 
std::string & Type_name ()
 
const std::string & Type_name () const
 
float & X ()
 
const float & X () const
 
float & Y ()
 
const float & Y () const
 
float & Z ()
 
const float & Z () const
 
Eigen::Vector3f & XYZ ()
 
const Eigen::Vector3f & XYZ () const
 
float & X (int fr)
 
const float & X (int fr) const
 
float & Y (int fr)
 
const float & Y (int fr) const
 
float & Z (int fr)
 
const float & Z (int fr) const
 
Eigen::Vector3f & XYZ (int fr)
 
const Eigen::Vector3f & XYZ (int fr) const
 
AtomAtom_data ()
 
const AtomAtom_data () const
 

Detailed Description

Auxilary type used to incapsulate the atom and its current coordinates Used internally in Selection::operator[] and in iterator access to Selection.

Objects of this class should not be created by the user in normal situation.


The documentation for this class was generated from the following files: