Rosetta
Public Member Functions | Private Attributes | List of all members
CartPerturber Class Reference

A basic example class for bootcamp. More...

Public Member Functions

 CartPerturber ()
 
 CartPerturber (int rounds)
 
 CartPerturber (int rounds, std::vector< bool > const &residues)
 
 ~CartPerturber ()
 
void apply ()
 Print info out - would apply some change to a pose. Will apply to all residues if no residues were given. More...
 
void set_rounds (int rounds)
 
void set_residues (std::vector< bool > const &residues)
 
void add_rounds (int rounds)
 
int get_rounds () const
 
std::vector< bool > get_residues () const
 

Private Attributes

int rounds_
 
std::vector< bool > residues_
 

Detailed Description

A basic example class for bootcamp.

Within Rosetta, would be expanded into a 'Mover' type of class to perturb a specific subset of residues in Cartesian Space.

Constructor & Destructor Documentation

◆ CartPerturber() [1/3]

CartPerturber::CartPerturber ( )
inline

◆ CartPerturber() [2/3]

CartPerturber::CartPerturber ( int  rounds)
inline

◆ CartPerturber() [3/3]

CartPerturber::CartPerturber ( int  rounds,
std::vector< bool > const &  residues 
)
inline

◆ ~CartPerturber()

CartPerturber::~CartPerturber ( )
inline

Member Function Documentation

◆ add_rounds()

void CartPerturber::add_rounds ( int  rounds)
inline

References basic::options::OptionKeys::lh::rounds, and rounds_.

Referenced by main().

◆ apply()

void CartPerturber::apply ( )
inline

Print info out - would apply some change to a pose. Will apply to all residues if no residues were given.

References utility::io::oc::cout, residues_, and rounds_.

Referenced by pyrosetta.distributed.tasks.rosetta_scripts.BaseRosettaScriptsTask::execute(), and main().

◆ get_residues()

std::vector<bool> CartPerturber::get_residues ( ) const
inline

References residues_.

◆ get_rounds()

int CartPerturber::get_rounds ( ) const
inline

References rounds_.

◆ set_residues()

void CartPerturber::set_residues ( std::vector< bool > const &  residues)
inline

References execute::residues, and residues_.

Referenced by main().

◆ set_rounds()

void CartPerturber::set_rounds ( int  rounds)
inline

References basic::options::OptionKeys::lh::rounds, and rounds_.

Referenced by main().

Member Data Documentation

◆ residues_

std::vector<bool> CartPerturber::residues_
private

Referenced by apply(), get_residues(), and set_residues().

◆ rounds_

int CartPerturber::rounds_
private

The documentation for this class was generated from the following file: