Rosetta 3.4
Public Types | Public Member Functions
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]

List of all members.

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 ()
 ~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_

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 ( )

Member Function Documentation

bool protocols::moves::DataMap::add ( std::string const  type,
std::string const  name,
utility::pointer::ReferenceCountOP const  op 
)
DataMap::iterator protocols::moves::DataMap::begin ( )
DataMap::const_iterator protocols::moves::DataMap::begin ( ) const
DataMap::const_iterator protocols::moves::DataMap::end ( ) const
DataMap::iterator protocols::moves::DataMap::end ( )
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 protocols::pack_daemon::error_message, and has().

Referenced by protocols::protein_interface_design::movers::generate_taskfactory_and_add_task_awareness(), protocols::rosetta_scripts::get_task_operations(), protocols::jd2::parser::MonteCarloLoader::load_data(), protocols::rosetta_scripts::parse_movemap(), protocols::simple_moves::sidechain_moves::SidechainMoverBase::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMover::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMCMover::parse_my_tag(), protocols::simple_moves::SequenceProfileMover::parse_my_tag(), protocols::simple_moves::ScoreMover::parse_my_tag(), protocols::simple_moves::RotamerTrialsMover::parse_my_tag(), protocols::simple_moves::FavorSequenceProfile::parse_my_tag(), protocols::simple_moves::DesignRepackMover::parse_my_tag(), protocols::simple_moves::ddG::parse_my_tag(), protocols::simple_moves::ConsensusDesignMover::parse_my_tag(), protocols::simple_filters::ScoreTypeFilter::parse_my_tag(), protocols::simple_filters::RotamerBoltzmannWeight::parse_my_tag(), protocols::simple_filters::EnergyPerResidueFilter::parse_my_tag(), protocols::simple_filters::DdgFilter::parse_my_tag(), protocols::simple_filters::AlaScan::parse_my_tag(), protocols::seeded_abinitio::SwapSegment::parse_my_tag(), protocols::seeded_abinitio::SeedSetupMover::parse_my_tag(), protocols::seeded_abinitio::SeedFoldTree::parse_my_tag(), protocols::seeded_abinitio::GrowPeptides::parse_my_tag(), protocols::seeded_abinitio::CloseFold::parse_my_tag(), protocols::rotamer_recovery::RotamerRecoveryMover::parse_my_tag(), protocols::rosetta_scripts::ParsedProtocol::parse_my_tag(), protocols::relax::FastRelax::parse_my_tag(), protocols::protein_interface_design::EnergyPerResidueFilter::parse_my_tag(), protocols::protein_interface_design::DdgFilter::parse_my_tag(), protocols::protein_interface_design::AlaScan::parse_my_tag(), protocols::protein_interface_design::ScoreTypeFilter::parse_my_tag(), protocols::protein_interface_design::movers::VLB::parse_my_tag(), protocols::protein_interface_design::movers::TryRotamers::parse_my_tag(), protocols::protein_interface_design::movers::SetupHotspotConstraintsMover::parse_my_tag(), protocols::protein_interface_design::movers::RandomMutation::parse_my_tag(), protocols::protein_interface_design::movers::ProteinInterfaceMultiStateDesignMover::parse_my_tag(), protocols::protein_interface_design::movers::PrepackMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceOnLoop::parse_my_tag(), protocols::protein_interface_design::movers::MapHotspot::parse_my_tag(), protocols::protein_interface_design::movers::LoopRemodel::parse_my_tag(), protocols::protein_interface_design::movers::LoopMoverFromCommandLine::parse_my_tag(), protocols::protein_interface_design::movers::HotspotHasherMover::parse_my_tag(), protocols::protein_interface_design::movers::HotspotDisjointedFoldTreeMover::parse_my_tag(), protocols::protein_interface_design::movers::FavorNonNativeResiduePreCycle::parse_my_tag(), protocols::protein_interface_design::movers::FavorNativeResiduePreCycle::parse_my_tag(), protocols::protein_interface_design::movers::DockAndRetrieveSidechains::parse_my_tag(), protocols::protein_interface_design::movers::DisulfideMover::parse_my_tag(), protocols::protein_interface_design::movers::BestHotspotCstMover::parse_my_tag(), protocols::protein_interface_design::movers::BackrubDDMover::parse_my_tag(), protocols::protein_interface_design::filters::DeltaFilter::parse_my_tag(), protocols::moves::TrialMover::parse_my_tag(), protocols::moves::MonteCarloUtil::parse_my_tag(), protocols::moves::RampingMover::parse_my_tag(), protocols::moves::GenericMonteCarloMover::parse_my_tag(), protocols::loops::loop_mover::refine::LoopMover_Refine_CCD::parse_my_tag(), protocols::loophash::LoopHashMoverWrapper::parse_my_tag(), protocols::ligand_docking::MoveMapBuilder::parse_my_tag(), protocols::ligand_docking::MinimizeBackbone::parse_my_tag(), protocols::ligand_docking::InterfaceScoreCalculator::parse_my_tag(), protocols::ligand_docking::InterfaceBuilder::parse_my_tag(), protocols::ligand_docking::HighResDocker::parse_my_tag(), protocols::ligand_docking::FinalMinimizer::parse_my_tag(), protocols::flxbb::InterlockAroma::parse_my_tag(), protocols::flxbb::FlxbbDesign::parse_my_tag(), protocols::flexpep_docking::FlexPepDockingProtocol::parse_my_tag(), protocols::fldsgn::potentials::SetSecStructEnergies::parse_my_tag(), protocols::fldsgn::potentials::SetAACompositionPotential::parse_my_tag(), protocols::fldsgn::BluePrintBDR::parse_my_tag(), protocols::enzdes::EnzRepackMinimize::parse_my_tag(), protocols::enzdes::RepackWithoutLigandFilter::parse_my_tag(), protocols::enzdes::EnzScoreFilter::parse_my_tag(), protocols::enzdes::LigInterfaceEnergyFilter::parse_my_tag(), protocols::enzdes::BackboneSampler::parse_my_tag(), protocols::docking::TemperedDocking::parse_my_tag(), protocols::docking::DockingProtocol::parse_my_tag(), protocols::dna::DnaInterfaceMinMover::parse_my_tag(), protocols::comparative_modeling::hybridize::HybridizeProtocol::parse_my_tag(), protocols::backrub::BackrubSidechainMover::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

Referenced by add(), protocols::protein_interface_design::movers::generate_taskfactory_and_add_task_awareness(), get(), protocols::rosetta_scripts::get_task_operations(), protocols::ligand_docking::LigandAreaLoader::load_data(), protocols::ligand_docking::MoveMapBuilderLoader::load_data(), protocols::ligand_docking::InterfaceBuilderLoader::load_data(), protocols::jd2::parser::TaskOperationLoader::load_data(), operator[](), protocols::rosetta_scripts::parse_movemap(), protocols::simple_moves::sidechain_moves::SidechainMoverBase::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMover::parse_my_tag(), protocols::simple_moves::sidechain_moves::SidechainMCMover::parse_my_tag(), protocols::simple_moves::ScoreMover::parse_my_tag(), protocols::rosetta_scripts::ParsedProtocol::parse_my_tag(), protocols::protein_interface_design::movers::ProteinInterfaceMultiStateDesignMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::parse_my_tag(), protocols::protein_interface_design::movers::MapHotspot::parse_my_tag(), protocols::protein_interface_design::movers::LoopRemodel::parse_my_tag(), protocols::moves::GenericMonteCarloMover::parse_my_tag(), protocols::flexpep_docking::FlexPepDockingProtocol::parse_my_tag(), protocols::dna::DnaInterfaceMinMover::parse_my_tag(), protocols::backrub::BackrubSidechainMover::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(), and has().

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

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


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