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