Rosetta 3.4
Public Member Functions | Friends
protocols::pmut_scan::Mutant Class Reference

#include <Mutant.hh>

Collaboration diagram for protocols::pmut_scan::Mutant:
Collaboration graph
[legend]

List of all members.

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)

Constructor & Destructor Documentation

protocols::pmut_scan::Mutant::Mutant ( )

Mutant class constructor.

protocols::pmut_scan::Mutant::~Mutant ( )

Mutant class destructor.


Member Function Documentation

void protocols::pmut_scan::Mutant::add_mutation ( MutationData  md)

Adds the passed in mutation to the class member list.

Mutant::add_mutation

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.

Mutant::mutations_begin

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.

Mutant::mutations_end

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.

Mutant::n_mutations

Referenced by protocols::pmut_scan::PointMutScanDriver::make_specific_mutant(), and operator==().

bool protocols::pmut_scan::Mutant::operator== ( const Mutant m_other) const

Function which tests two Mutant objects for equality; only used by unit tests.

Mutant::operator==

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.

Mutant::pop_mutation

Referenced by protocols::pmut_scan::PointMutScanDriver::make_specific_mutant().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Mutant m 
) [friend]
friend class PointMutScanDriver [friend]

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