![]() |
Rosetta
2021.16
|
Simple class representing a contact between two atoms. More...
#include <ContactMap.hh>
Public Member Functions | |
| Contact (ContactPartner const &p1=ContactPartner(), ContactPartner const &p2=ContactPartner()) | |
| Default constructor. More... | |
| void | add_distance () |
| Adds distance to the contact. More... | |
| void | add_distance (core::Real distance) |
| Adds distance to the contact. More... | |
| void | reset_count () |
| Resets count to 0. More... | |
| std::string | string_rep () const |
| Returns string representation of the Contact. More... | |
| std::string | string_rep (core::Size n_poses) const |
| Returns string representation of the Contact as percentage value. More... | |
| std::string | long_string_rep (core::Size n_poses=0) const |
| Returns string representation of the Contact including partner names. More... | |
| ContactPartner * | partner1 () |
| Accessor functions for private class variables. More... | |
| ContactPartner * | partner2 () |
Private Attributes | |
| ContactPartner | partner1_ |
| ContactPartner | partner2_ |
| core::Size | count_ |
| core::Real | distance_ |
Simple class representing a contact between two atoms.
|
inline |
Default constructor.
| void protocols::contact_map::Contact::add_distance | ( | ) |
Adds distance to the contact.
| void protocols::contact_map::Contact::add_distance | ( | core::Real | distance | ) |
Adds distance to the contact.
| std::string protocols::contact_map::Contact::long_string_rep | ( | core::Size | n_poses = 0 | ) | const |
Returns string representation of the Contact including partner names.
|
inline |
Accessor functions for private class variables.
References partner1_.
|
inline |
References partner2_.
| void protocols::contact_map::Contact::reset_count | ( | ) |
Resets count to 0.
| std::string protocols::contact_map::Contact::string_rep | ( | ) | const |
Returns string representation of the Contact.
Referenced by protocols::contact_map::ContactMap::write_to_stream().
| std::string protocols::contact_map::Contact::string_rep | ( | core::Size | n_poses | ) | const |
Returns string representation of the Contact as percentage value.
|
private |
|
private |
|
private |
Referenced by partner1().
|
private |
Referenced by partner2().
1.8.7