Rosetta 3.4
|
#include <Mutant.hh>
Public Member Functions | |
Mutant () | |
Mutant class constructor. | |
~Mutant () | |
Mutant class destructor. | |
core::Size | n_mutations () const |
Returns the number of mutations in this mutant. | |
void | add_mutation (MutationData md) |
Adds the passed in mutation to the class member list. | |
utility::vector1< MutationData > ::const_iterator | mutations_begin () const |
Returns a const iterator to beginning of the mutations vector. | |
utility::vector1< MutationData > ::const_iterator | mutations_end () const |
Returns a const iterator to end of the mutations vector. | |
bool | operator== (const Mutant &m_other) const |
Function which tests two Mutant objects for equality; only used by unit tests. | |
MutationData | pop_mutation () |
Sets the passed in reference to the first element of the mutations_ vector, and removes that element from the vector. | |
Friends | |
class | PointMutScanDriver |
std::ostream & | operator<< (std::ostream &os, const Mutant &m) |
protocols::pmut_scan::Mutant::Mutant | ( | ) |
Mutant class constructor.
protocols::pmut_scan::Mutant::~Mutant | ( | ) |
Mutant class destructor.
void protocols::pmut_scan::Mutant::add_mutation | ( | MutationData | md | ) |
Adds the passed in mutation to the class member list.
Referenced by protocols::pmut_scan::PointMutScanDriver::fill_mutations_list().
utility::vector1< MutationData >::const_iterator protocols::pmut_scan::Mutant::mutations_begin | ( | ) | const |
Returns a const iterator to beginning of the mutations vector.
Referenced by protocols::pmut_scan::operator<<(), and operator==().
utility::vector1< MutationData >::const_iterator protocols::pmut_scan::Mutant::mutations_end | ( | ) | const |
Returns a const iterator to end of the mutations vector.
Referenced by protocols::pmut_scan::operator<<(), and operator==().
core::Size protocols::pmut_scan::Mutant::n_mutations | ( | ) | const |
Returns the number of mutations in this mutant.
Referenced by protocols::pmut_scan::PointMutScanDriver::make_specific_mutant(), and operator==().
Function which tests two Mutant objects for equality; only used by unit tests.
References mutations_begin(), mutations_end(), and n_mutations().
MutationData protocols::pmut_scan::Mutant::pop_mutation | ( | ) |
Sets the passed in reference to the first element of the mutations_ vector, and removes that element from the vector.
Referenced by protocols::pmut_scan::PointMutScanDriver::make_specific_mutant().
std::ostream& operator<< | ( | std::ostream & | os, |
const Mutant & | m | ||
) | [friend] |
friend class PointMutScanDriver [friend] |