Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
core::io::nmr::AtomSelection Class Reference

#include <AtomSelection.hh>

Public Member Functions

 AtomSelection ()
 default constructor More...
 
 AtomSelection (Size const residue, std::string const &atom, char const &chain)
 create from residue number, atom name and chain ID More...
 
 AtomSelection (AtomSelection const &other)
 copy constructor More...
 
AtomSelectionoperator= (AtomSelection const &rhs)
 copy assignment More...
 
 ~AtomSelection ()
 destructor More...
 
Size get_rsd () const
 
std::string get_atom () const
 
const char & get_chain () const
 
void set_rsd (Size const residue)
 
void set_atom (std::string const &atom)
 
void set_chain (char const &chain)
 
void show (std::ostream &TR) const
 

Private Attributes

Size rsd_
 
std::string atom_
 
char chain_
 

Friends

bool operator< (AtomSelection const &lhs, AtomSelection const &rhs)
 
bool operator> (AtomSelection const &lhs, AtomSelection const &rhs)
 
bool operator<= (AtomSelection const &lhs, AtomSelection const &rhs)
 
bool operator>= (AtomSelection const &lhs, AtomSelection const &rhs)
 
bool operator== (AtomSelection const &lhs, AtomSelection const &rhs)
 
bool operator!= (AtomSelection const &lhs, AtomSelection const &rhs)
 

Constructor & Destructor Documentation

core::io::nmr::AtomSelection::AtomSelection ( )

default constructor

core::io::nmr::AtomSelection::AtomSelection ( Size const  residue,
std::string const &  atom,
char const &  chain 
)

create from residue number, atom name and chain ID

core::io::nmr::AtomSelection::AtomSelection ( AtomSelection const &  other)

copy constructor

core::io::nmr::AtomSelection::~AtomSelection ( )

destructor

Member Function Documentation

std::string core::io::nmr::AtomSelection::get_atom ( ) const
inline
const char& core::io::nmr::AtomSelection::get_chain ( ) const
inline

References chain_.

Size core::io::nmr::AtomSelection::get_rsd ( ) const
inline

References rsd_.

AtomSelection & core::io::nmr::AtomSelection::operator= ( AtomSelection const &  rhs)

copy assignment

References atom_, chain_, and rsd_.

void core::io::nmr::AtomSelection::set_atom ( std::string const &  atom)
inline
void core::io::nmr::AtomSelection::set_chain ( char const &  chain)
inline
void core::io::nmr::AtomSelection::set_rsd ( Size const  residue)
inline
void core::io::nmr::AtomSelection::show ( std::ostream &  TR) const

References atom_, chain_, and rsd_.

Friends And Related Function Documentation

bool operator!= ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend
bool operator< ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend
bool operator<= ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend
bool operator== ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend
bool operator> ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend
bool operator>= ( AtomSelection const &  lhs,
AtomSelection const &  rhs 
)
friend

Member Data Documentation

std::string core::io::nmr::AtomSelection::atom_
private
char core::io::nmr::AtomSelection::chain_
private
Size core::io::nmr::AtomSelection::rsd_
private

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