Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
core::id::NamedAtomID Class Reference

Atom identifier class. More...

#include <NamedAtomID.hh>

Collaboration diagram for core::id::NamedAtomID:
Collaboration graph

Public Member Functions

 NamedAtomID ()
 Default constructor. More...
 NamedAtomID (NamedAtomID const &src)
 Copy constructor. More...
 NamedAtomID (std::string const &atom_in, Size const rsd_in)
 Property constructor. More...
Size rsd () const
Sizersd ()
std::string const & atom () const
std::string & atom ()
bool valid () const
 Is this id valid? More...
std::string to_string () const

Private Attributes

std::string atom_
 Atom number within the Residue. More...
Size rsd_
 Residue number within the complex. More...


std::ostream & operator<< (std::ostream &os, NamedAtomID const &a)
 stream << NamedAtomID More...
std::istream & operator>> (std::istream &is, NamedAtomID &e)
 input operator More...
bool operator== (NamedAtomID const &a, NamedAtomID const &b)
 a and b are the same atom More...
bool operator!= (NamedAtomID const &a, NamedAtomID const &b)
 a and b are different atom More...
bool operator< (NamedAtomID const &a, NamedAtomID const &b)
 a is LOWER than b (e.g., first by smaller residue index number then by smaller atom index number) More...

Detailed Description

Atom identifier class.

Constructor & Destructor Documentation

core::id::NamedAtomID::NamedAtomID ( )

Default constructor.

core::id::NamedAtomID::NamedAtomID ( NamedAtomID const &  src)

Copy constructor.

core::id::NamedAtomID::NamedAtomID ( std::string const &  atom_in,
Size const  rsd_in 

Property constructor.

Member Function Documentation

std::string const& core::id::NamedAtomID::atom ( ) const
std::string& core::id::NamedAtomID::atom ( )

References atom_.

Size core::id::NamedAtomID::rsd ( ) const

References rsd_.

Referenced by protocols::noesy_assign::Resonance::_write_to_stream(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::AmbiguousNMRDistanceConstraint(), core::conformation::Conformation::append_residue(), protocols::noesy_assign::PeakAssignment::create_constraint(), protocols::noesy_assign::fall_back(), protocols::noesy_assign::CrossPeakList::generate_fa_and_cen_constraints(), core::scoring::constraints::Obsolet_NamedAtomPairConstraint::mapto(), core::pose::named_atom_id_to_atom_id(), core::conformation::named_atom_id_to_atom_id(), core::id::NamedStubID::NamedStubID(), protocols::noesy_assign::PeakAssignmentResidueMap::network_analysis(), core::id::operator<<(), core::id::operator>>(), protocols::noesy_assign::ResonanceList::operator[](), core::scoring::constraints::AngleConstraint::remapped_clone(), core::scoring::constraints::CoordinateConstraint::remapped_clone(), core::scoring::constraints::AtomPairConstraint::remapped_clone(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::remapped_clone(), core::scoring::constraints::LocalCoordinateConstraint::remapped_clone(), core::scoring::constraints::NamedAtomPairConstraint::remapped_clone(), core::scoring::constraints::DihedralPairConstraint::remapped_clone(), core::scoring::constraints::DistancePairConstraint::remapped_clone(), core::scoring::constraints::DihedralConstraint::remapped_clone(), protocols::noesy_assign::Resonance::resid(), core::scoring::constraints::NamedAtomPairConstraint::setup_for_scoring(), core::scoring::constraints::LocalCoordinateConstraint::show_def(), protocols::comparative_modeling::steal_ligands(), protocols::noesy_assign::FragsToAtomDist::swap_atoms(), to_string(), valid(), protocols::noesy_assign::PeakFileFormat_xpk::write_assignment(), and protocols::noesy_assign::PeakFileFormat_Sparky::write_assignment().

Size& core::id::NamedAtomID::rsd ( )

References rsd_.

std::string core::id::NamedAtomID::to_string ( ) const

References atom(), and rsd().

bool core::id::NamedAtomID::valid ( ) const

Friends And Related Function Documentation

bool operator!= ( NamedAtomID const &  a,
NamedAtomID const &  b 

a and b are different atom

bool operator< ( NamedAtomID const &  a,
NamedAtomID const &  b 

a is LOWER than b (e.g., first by smaller residue index number then by smaller atom index number)

std::ostream& operator<< ( std::ostream &  os,
NamedAtomID const &  a 

stream << NamedAtomID

bool operator== ( NamedAtomID const &  a,
NamedAtomID const &  b 

a and b are the same atom

std::istream& operator>> ( std::istream &  is,
NamedAtomID e 

input operator

Member Data Documentation

std::string core::id::NamedAtomID::atom_

Atom number within the Residue.

Referenced by atom(), and valid().

Size core::id::NamedAtomID::rsd_

Residue number within the complex.

Referenced by rsd().

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