Rosetta 3.4
Public Member Functions | Friends
core::id::NamedAtomID Class Reference

Atom identifier class. More...

#include <NamedAtomID.hh>

Collaboration diagram for core::id::NamedAtomID:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Friends

std::ostream & operator<< (std::ostream &os, NamedAtomID const &a)
 stream << NamedAtomID
std::istream & operator>> (std::istream &is, NamedAtomID &e)
 input operator
bool operator== (NamedAtomID const &a, NamedAtomID const &b)
 a and b are the same atom
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)

Detailed Description

Atom identifier class.


Constructor & Destructor Documentation

core::id::NamedAtomID::NamedAtomID ( ) [inline]

Default constructor.

core::id::NamedAtomID::NamedAtomID ( NamedAtomID const &  src) [inline]

Copy constructor.

core::id::NamedAtomID::NamedAtomID ( std::string const &  atom_in,
Size const  rsd_in 
) [inline]

Property constructor.


Member Function Documentation

std::string const& core::id::NamedAtomID::atom ( ) const [inline]
std::string& core::id::NamedAtomID::atom ( ) [inline]
Size& core::id::NamedAtomID::rsd ( ) [inline]
Size core::id::NamedAtomID::rsd ( ) const [inline]

Referenced by core::scoring::constraints::AmbiguousNMRDistanceConstraint::AmbiguousNMRDistanceConstraint(), protocols::noesy_assign::covalent_compliance(), protocols::noesy_assign::PeakAssignment::create_constraint(), 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::NamedAtomPairConstraint::remapped_clone(), core::scoring::constraints::LocalCoordinateConstraint::remapped_clone(), core::scoring::constraints::DihedralPairConstraint::remapped_clone(), core::scoring::constraints::DihedralConstraint::remapped_clone(), core::scoring::constraints::CoordinateConstraint::remapped_clone(), core::scoring::constraints::AtomPairConstraint::remapped_clone(), core::scoring::constraints::AngleConstraint::remapped_clone(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::remapped_clone(), protocols::noesy_assign::Resonance::resid(), core::scoring::constraints::NamedAtomPairConstraint::setup_for_scoring(), protocols::comparative_modeling::steal_ligands(), to_string(), valid(), protocols::noesy_assign::PeakFileFormat_xpk::write_assignment(), protocols::noesy_assign::PeakFileFormat_Sparky::write_assignment(), and protocols::noesy_assign::Resonance::write_to_stream().

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

References atom(), and rsd().

bool core::id::NamedAtomID::valid ( ) const [inline]

Friends And Related Function Documentation

bool operator!= ( NamedAtomID const &  a,
NamedAtomID const &  b 
) [friend]

a and b are different atom

bool operator< ( NamedAtomID const &  a,
NamedAtomID const &  b 
) [friend]

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 
) [friend]

stream << NamedAtomID

bool operator== ( NamedAtomID const &  a,
NamedAtomID const &  b 
) [friend]

a and b are the same atom

std::istream& operator>> ( std::istream &  is,
NamedAtomID e 
) [friend]

input operator


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines