Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource Class Reference

The ChunkLibraryInputSource is a small class for holding data about the starting Pose for a Job and where it comes from (i.e. which of the ChunkLibraryInputters claims responsibility for creating a Pose for this instance). The "input_tag" is a string description of the input source and will be used as the "job_tag" to control output – the input tag should not include the file extension. It is perfectly reasonable for complex ChunkLibraryInputters to subclass from ChunkLibraryInputSource to tuck more complex data in the ChunkLibraryInputSource, though, the string-string map ought to provide considerable flexibility in storing data without deriving new subclasses. More...

#include <ChunkLibraryInputSource.hh>

Inheritance diagram for protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string,
utility::vector1< std::string > > 
StringStringMap
 

Public Member Functions

 ChunkLibraryInputSource ()
 
 ChunkLibraryInputSource (std::string origin)
 
bool operator== (ChunkLibraryInputSource const &rhs) const
 
bool operator!= (ChunkLibraryInputSource const &rhs) const
 
bool operator< (ChunkLibraryInputSource const &rhs) const
 
StringStringMap const & string_string_map () const
 
void store_string_pair (std::string const &key, std::string const &value)
 
- Public Member Functions inherited from protocols::jd3::InputSource
 InputSource ()
 
 InputSource (std::string origin)
 
 ~InputSource () override
 
bool operator== (InputSource const &rhs) const
 
bool operator!= (InputSource const &rhs) const
 
bool operator< (InputSource const &rhs) const
 
std::string const & input_tag () const
 
std::string const & origin () const
 
core::Size source_id () const
 
void input_tag (std::string const &setting)
 
void origin (std::string const &setting)
 
void source_id (core::Size setting)
 

Private Attributes

std::string origin_
 
std::string input_tag_
 
StringStringMap string_string_map_
 
core::Size source_id_
 

Detailed Description

The ChunkLibraryInputSource is a small class for holding data about the starting Pose for a Job and where it comes from (i.e. which of the ChunkLibraryInputters claims responsibility for creating a Pose for this instance). The "input_tag" is a string description of the input source and will be used as the "job_tag" to control output – the input tag should not include the file extension. It is perfectly reasonable for complex ChunkLibraryInputters to subclass from ChunkLibraryInputSource to tuck more complex data in the ChunkLibraryInputSource, though, the string-string map ought to provide considerable flexibility in storing data without deriving new subclasses.

Member Typedef Documentation

typedef std::map< std::string, utility::vector1< std::string > > protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::StringStringMap

Constructor & Destructor Documentation

protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::ChunkLibraryInputSource ( )
inline
protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::ChunkLibraryInputSource ( std::string  origin)

Member Function Documentation

bool protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::operator!= ( ChunkLibraryInputSource const &  rhs) const
bool protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::operator< ( ChunkLibraryInputSource const &  rhs) const
bool protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::operator== ( ChunkLibraryInputSource const &  rhs) const
void protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::store_string_pair ( std::string const &  key,
std::string const &  value 
)

References string_string_map_.

ChunkLibraryInputSource::StringStringMap const & protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::string_string_map ( ) const

Member Data Documentation

std::string protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::input_tag_
private

Referenced by operator<(), and operator==().

std::string protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::origin_
private

Referenced by operator<(), and operator==().

core::Size protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::source_id_
private

Referenced by operator<(), and operator==().

StringStringMap protocols::jd3::chunk_library_inputters::ChunkLibraryInputSource::string_string_map_
private

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