Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::moves::DataMap Class Reference

general-purpose store for any reference-count derived object More...

#include <DataMap.hh>

Inheritance diagram for protocols::moves::DataMap:
Inheritance graph
[legend]
Collaboration diagram for protocols::moves::DataMap:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string,
std::map< std::string,
utility::pointer::ReferenceCountOP >
>::iterator 
iterator
 
typedef std::map< std::string,
std::map< std::string,
utility::pointer::ReferenceCountOP >
>::const_iterator 
const_iterator
 

Public Member Functions

 DataMap ()
 
virtual ~DataMap ()
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool add (std::string const type, std::string const name, utility::pointer::ReferenceCountOP const op)
 
bool has (std::string const type, std::string const name="") const
 
template<class Ty >
Ty get (std::string const type, std::string const name) const
 
std::map< std::string,
utility::pointer::ReferenceCountOP > & 
operator[] (std::string const &type)
 
core::Size size () const
 returns the size of the map (how many different types are in data_map_ More...
 

Private Attributes

std::map< std::string,
std::map< std::string,
utility::pointer::ReferenceCountOP > > 
data_map_
 

Detailed Description

general-purpose store for any reference-count derived object

Member Typedef Documentation

typedef std::map< std::string, std::map< std::string, utility::pointer::ReferenceCountOP > >::const_iterator protocols::moves::DataMap::const_iterator
typedef std::map< std::string, std::map< std::string, utility::pointer::ReferenceCountOP > >::iterator protocols::moves::DataMap::iterator

Constructor & Destructor Documentation

protocols::moves::DataMap::DataMap ( )
protocols::moves::DataMap::~DataMap ( )
virtual

Member Function Documentation

bool protocols::moves::DataMap::add ( std::string const  type,
std::string const  name,
utility::pointer::ReferenceCountOP const  op 
)

References data_map_, has(), and protocols::moves::TR().

Referenced by protocols::jd2::DockDesignParser::generate_mover_from_pose(), protocols::protein_interface_design::movers::generate_taskfactory_and_add_task_awareness(), protocols::moves::get_set_from_datamap(), protocols::jd2::parser::TaskOperationLoader::load_data(), protocols::loops::loops_definers::LoopsDefinerLoader::load_data(), protocols::ligand_docking::InterfaceBuilderLoader::load_data(), protocols::jd2::parser::ScoreFunctionLoader::load_data(), protocols::jd2::parser::MonteCarloLoader::load_data(), protocols::jd2::parser::FragSetLoader::load_data(), protocols::ligand_docking::MoveMapBuilderLoader::load_data(), protocols::ligand_docking::LigandAreaLoader::load_data(), operator[](), protocols::rosetta_scripts::parse_movemap(), protocols::seeded_abinitio::DefineMovableLoops::parse_my_tag(), protocols::seeded_abinitio::CloseFold::parse_my_tag(), protocols::protein_interface_design::movers::SetupHotspotConstraintsMover::parse_my_tag(), protocols::protein_interface_design::movers::SetupHotspotConstraintsLoopsMover::parse_my_tag(), protocols::protein_interface_design::movers::LoopFinder::parse_my_tag(), protocols::rosetta_scripts::ParsedProtocol::parse_my_tag(), protocols::docking::DockSetupMover::parse_my_tag(), protocols::docking::DockingInitialPerturbation::parse_my_tag(), protocols::protein_interface_design::movers::Splice::parse_my_tag(), protocols::rosetta_scripts::parse_task_operations(), and protocols::rosetta_scripts::saved_reference_pose().

DataMap::iterator protocols::moves::DataMap::begin ( )

References data_map_.

DataMap::const_iterator protocols::moves::DataMap::begin ( ) const

References data_map_.

DataMap::iterator protocols::moves::DataMap::end ( )
DataMap::const_iterator protocols::moves::DataMap::end ( ) const

References data_map_.

template<class Ty >
Ty protocols::moves::DataMap::get ( std::string const  type,
std::string const  name 
) const

a template utility function to grab any type of object from the Data_map. Downcasts the ReferenceCount object in map to the template data type using dynamic_cast to ensure type-correctness

References data_map_, protocols::pack_daemon::error_message, and has().

Referenced by protocols::protein_interface_design::movers::generate_taskfactory_and_add_task_awareness(), protocols::moves::get_set_from_datamap(), protocols::rosetta_scripts::get_task_operations(), protocols::jd2::parser::MonteCarloLoader::load_data(), protocols::loops::loops_definers::load_loop_definitions(), protocols::simple_moves::MinMover::parse_dof_task_type(), protocols::rosetta_scripts::parse_movemap(), protocols::simple_moves::SequenceProfileMover::parse_my_tag(), protocols::protein_interface_design::movers::DockAndRetrieveSidechains::parse_my_tag(), protocols::seeded_abinitio::SwapSegment::parse_my_tag(), protocols::protein_interface_design::movers::HotspotDisjointedFoldTreeMover::parse_my_tag(), protocols::seeded_abinitio::GrowPeptides::parse_my_tag(), protocols::protein_interface_design::movers::PrepackMover::parse_my_tag(), protocols::protein_interface_design::movers::RandomMutation::parse_my_tag(), protocols::seeded_abinitio::SeedSetupMover::parse_my_tag(), protocols::protein_interface_design::movers::FavorNonNativeResiduePreCycle::parse_my_tag(), protocols::protein_interface_design::movers::FavorNativeResiduePreCycle::parse_my_tag(), protocols::simple_filters::DeltaFilter::parse_my_tag(), protocols::seeded_abinitio::CloseFold::parse_my_tag(), protocols::protein_interface_design::movers::VLB::parse_my_tag(), protocols::seeded_abinitio::SegmentHybridizer::parse_my_tag(), protocols::loophash::LoopHashMoverWrapper::parse_my_tag(), protocols::protein_interface_design::movers::HotspotHasherMover::parse_my_tag(), protocols::simple_filters::ReportFilter::parse_my_tag(), protocols::protein_interface_design::movers::PlaceOnLoop::parse_my_tag(), protocols::dna::DnaInterfaceMinMover::parse_my_tag(), protocols::simple_moves::FavorSequenceProfile::parse_my_tag(), protocols::protein_interface_design::movers::BestHotspotCstMover::parse_my_tag(), protocols::simple_filters::EnergyPerResidueFilter::parse_my_tag(), protocols::simple_moves::DesignRepackMover::parse_my_tag(), protocols::protein_interface_design::movers::MapHotspot::parse_my_tag(), protocols::protein_interface_design::movers::ProteinInterfaceMultiStateDesignMover::parse_my_tag(), protocols::ligand_docking::InterfaceBuilder::parse_my_tag(), protocols::simple_filters::ResidueIEFilter::parse_my_tag(), protocols::ligand_docking::MoveMapBuilder::parse_my_tag(), protocols::protein_interface_design::movers::SetupHotspotConstraintsMover::parse_my_tag(), protocols::simple_filters::ScoreTypeFilter::parse_my_tag(), protocols::simple_filters::RotamerBoltzmannWeight::parse_my_tag(), protocols::ligand_docking::InterfaceScoreCalculator::parse_my_tag(), protocols::seeded_abinitio::SeedFoldTree::parse_my_tag(), protocols::ligand_docking::FinalMinimizer::parse_my_tag(), protocols::simple_filters::ResidueSetChainEnergyFilter::parse_my_tag(), protocols::protein_interface_design::movers::BackrubDDMover::parse_my_tag(), protocols::ligand_docking::MinimizeBackbone::parse_my_tag(), protocols::simple_moves::ScoreMover::parse_my_tag(), protocols::pb_potential::SetupPoissonBoltzmannPotential::parse_my_tag(), protocols::enzdes::PackRotamersMoverPartGreedy::parse_my_tag(), protocols::enzdes::BackboneSampler::parse_my_tag(), protocols::enzdes::EnzRepackMinimize::parse_my_tag(), protocols::simple_filters::AlaScan::parse_my_tag(), protocols::simple_filters::DdgFilter::parse_my_tag(), protocols::ligand_docking::HighResDocker::parse_my_tag(), protocols::features::HBondParameterFeatures::parse_my_tag(), protocols::features::StructureScoresFeatures::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMoverBase::parse_my_tag(), protocols::features::ScoreFunctionFeatures::parse_my_tag(), protocols::loophash::LoopHashDiversifier::parse_my_tag(), protocols::protein_interface_design::movers::DisulfideMover::parse_my_tag(), protocols::protein_interface_design::movers::LoopMoverFromCommandLine::parse_my_tag(), protocols::rosetta_scripts::ParsedProtocol::parse_my_tag(), protocols::backrub::BackrubSidechainMover::parse_my_tag(), protocols::simple_moves::ddG::parse_my_tag(), protocols::protein_interface_design::movers::LoopRemodel::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMover::parse_my_tag(), protocols::flexpep_docking::FlexPepDockingProtocol::parse_my_tag(), protocols::hybridization::CartesianSampler::parse_my_tag(), protocols::protein_interface_design::movers::TryRotamers::parse_my_tag(), protocols::features::RotamerRecoveryFeatures::parse_my_tag(), protocols::features::RotamerBoltzmannWeightFeatures::parse_my_tag(), protocols::loops::loop_mover::refine::LoopMover_Refine_CCD::parse_my_tag(), protocols::rotamer_recovery::RotamerRecoveryMover::parse_my_tag(), protocols::moves::MonteCarloUtil::parse_my_tag(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMCMover::parse_my_tag(), protocols::features::ResidueTotalScoresFeatures::parse_my_tag(), protocols::features::ResidueScoresFeatures::parse_my_tag(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::parse_my_tag(), protocols::docking::DockSetupMover::parse_my_tag(), protocols::hybridization::HybridizeProtocol::parse_my_tag(), protocols::flxbb::InterlockAroma::parse_my_tag(), protocols::simple_moves::RotamerTrialsMover::parse_my_tag(), protocols::docking::DockingInitialPerturbation::parse_my_tag(), protocols::protein_interface_design::movers::Splice::parse_my_tag(), protocols::relax::FastRelax::parse_my_tag(), protocols::toolbox::pose_metric_calculators::FragQualCalculator::parse_my_tag(), protocols::fldsgn::potentials::SetAACompositionPotential::parse_my_tag(), protocols::docking::TemperedDocking::parse_my_tag(), protocols::enzdes::LigInterfaceEnergyFilter::parse_my_tag(), protocols::features::HBondFeatures::parse_my_tag(), protocols::fldsgn::potentials::SetSecStructEnergies::parse_my_tag(), protocols::moves::RampingMover::parse_my_tag(), protocols::enzdes::EnzScoreFilter::parse_my_tag(), protocols::moves::TrialMover::parse_my_tag(), protocols::flxbb::FlxbbDesign::parse_my_tag(), protocols::docking::DockingProtocol::parse_my_tag(), protocols::fldsgn::BluePrintBDR::parse_my_tag(), protocols::enzdes::RepackWithoutLigandFilter::parse_my_tag(), protocols::simple_moves::GenericMonteCarloMover::parse_my_tag(), protocols::forge::remodel::RemodelLoopMover::parse_my_tag(), protocols::simple_moves::MinMover::parse_opts(), protocols::rosetta_scripts::parse_score_function(), protocols::protein_interface_design::movers::parse_stub_sets(), protocols::rosetta_scripts::parse_task_operations(), and protocols::rosetta_scripts::saved_reference_pose().

bool protocols::moves::DataMap::has ( std::string const  type,
std::string const  name = "" 
) const

References data_map_.

Referenced by add(), protocols::protein_interface_design::movers::generate_taskfactory_and_add_task_awareness(), get(), protocols::moves::get_set_from_datamap(), protocols::rosetta_scripts::get_task_operations(), protocols::loops::loops_definers::LoopsDefinerLoader::load_data(), protocols::jd2::parser::TaskOperationLoader::load_data(), protocols::ligand_docking::InterfaceBuilderLoader::load_data(), protocols::ligand_docking::MoveMapBuilderLoader::load_data(), protocols::ligand_docking::LigandAreaLoader::load_data(), protocols::loops::loops_definers::load_loop_definitions(), operator[](), protocols::simple_moves::MinMover::parse_dof_task_type(), protocols::rosetta_scripts::parse_movemap(), protocols::dna::DnaInterfaceMinMover::parse_my_tag(), protocols::protein_interface_design::movers::MapHotspot::parse_my_tag(), protocols::protein_interface_design::movers::ProteinInterfaceMultiStateDesignMover::parse_my_tag(), protocols::simple_moves::ScoreMover::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMoverBase::parse_my_tag(), protocols::backrub::BackrubSidechainMover::parse_my_tag(), protocols::rosetta_scripts::ParsedProtocol::parse_my_tag(), protocols::protein_interface_design::movers::LoopRemodel::parse_my_tag(), protocols::flexpep_docking::FlexPepDockingProtocol::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMCMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::parse_my_tag(), protocols::docking::DockSetupMover::parse_my_tag(), protocols::docking::DockingInitialPerturbation::parse_my_tag(), protocols::protein_interface_design::movers::Splice::parse_my_tag(), protocols::toolbox::pose_metric_calculators::FragQualCalculator::parse_my_tag(), protocols::moves::RampingMover::parse_my_tag(), protocols::simple_moves::GenericMonteCarloMover::parse_my_tag(), protocols::forge::remodel::RemodelLoopMover::parse_my_tag(), protocols::rosetta_scripts::parse_score_function(), protocols::protein_interface_design::movers::parse_stub_sets(), protocols::rosetta_scripts::parse_task_operations(), and protocols::rosetta_scripts::saved_reference_pose().

std::map< std::string, utility::pointer::ReferenceCountOP > & protocols::moves::DataMap::operator[] ( std::string const &  type)

References add(), data_map_, and has().

core::Size protocols::moves::DataMap::size ( ) const

returns the size of the map (how many different types are in data_map_

References data_map_.

Member Data Documentation

std::map< std::string, std::map< std::string, utility::pointer::ReferenceCountOP > > protocols::moves::DataMap::data_map_
private

Referenced by add(), begin(), end(), get(), has(), operator[](), and size().


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