Rosetta
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

◆ AtomSelection() [1/3]

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

default constructor

◆ AtomSelection() [2/3]

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

create from residue number, atom name and chain ID

◆ AtomSelection() [3/3]

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

copy constructor

◆ ~AtomSelection()

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

destructor

Member Function Documentation

◆ get_atom()

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

◆ get_chain()

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

References chain_.

◆ get_rsd()

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

References rsd_.

◆ operator=()

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

copy assignment

References atom_, chain_, and rsd_.

◆ set_atom()

void core::io::nmr::AtomSelection::set_atom ( std::string const &  atom)
inline

◆ set_chain()

void core::io::nmr::AtomSelection::set_chain ( char const &  chain)
inline

◆ set_rsd()

void core::io::nmr::AtomSelection::set_rsd ( Size const  residue)
inline

◆ show()

void core::io::nmr::AtomSelection::show ( std::ostream &  TR) const

References atom_, chain_, rsd_, and core::io::nmr::TR().

Friends And Related Function Documentation

◆ operator!=

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

◆ operator<

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

◆ operator<=

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

◆ operator==

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

◆ operator>

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

◆ operator>=

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

Member Data Documentation

◆ atom_

std::string core::io::nmr::AtomSelection::atom_
private

Referenced by get_atom(), operator=(), set_atom(), and show().

◆ chain_

char core::io::nmr::AtomSelection::chain_
private

Referenced by get_chain(), operator=(), set_chain(), and show().

◆ rsd_

Size core::io::nmr::AtomSelection::rsd_
private

Referenced by get_rsd(), operator=(), set_rsd(), and show().


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