![]() |
Rosetta Protocols
2014.16.56682
|
Simple class representing a contact between two atoms. More...
#include <ContactMap.hh>
Public Member Functions | |
| Contact (ContactPartner p1=ContactPartner(), ContactPartner 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 () |
| Returns string representation of the Contact. More... | |
| std::string | string_rep (core::Size n_poses) |
| Returns string representation of the Contact as percentage value. More... | |
| std::string | long_string_rep (core::Size n_poses=0) |
| Returns string representation of the Contact including partner names. More... | |
| ContactPartnerAP | partner1 () |
| Accessor functions for private class variables. More... | |
| ContactPartnerAP | 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.
References utility::pointer::ReferenceCount::count_.
| 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 | ) |
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.
References utility::pointer::ReferenceCount::count_.
| std::string protocols::contact_map::Contact::string_rep | ( | ) |
Returns string representation of the Contact.
References utility::pointer::ReferenceCount::count_.
| std::string protocols::contact_map::Contact::string_rep | ( | core::Size | n_poses | ) |
Returns string representation of the Contact as percentage value.
References utility::pointer::ReferenceCount::count_.
|
private |
|
private |
|
private |
Referenced by partner1().
|
private |
Referenced by partner2().
1.8.7