![]() |
Rosetta
2020.11
|
The FileListResourceLocator concatenates a set of listed files; e.g. useful for constructing a pose from two separate PDB files. More...
#include <FileListResourceLocator.hh>
Public Member Functions | |
FileListResourceLocator () | |
void | show (std::ostream &out) const override |
Describe the FileListResourceLocator to the output stringstream; since this class has no data, merely prints the name of the class. More... | |
std::string | type () const override |
Return the name for this class: "FileListResourceLocator". More... | |
void | set_open_mode (std::ios_base::openmode open_mode) |
std::ios_base::openmode | get_open_mode () const |
ResourceStreamOP | locate_resource_stream (std::string const &input_id) const override |
Take the input locator tag and split it by whitespace, interpret each substring as the name of a file, and concatenate each file into a single stringstream to be returned. More... | |
void | parse_my_tag (utility::tag::TagCOP tag) override |
Do nothing, since there is no data that the FileListResourceLocator needs. More... | |
![]() | |
ResourceLocator () | |
Construct a ResourceLocator and initialize its name (its locator_tag) to the empty string. More... | |
ResourceLocator (std::string const &locator_tag) | |
Construct a ResourceLocator while setting its name to the input locater_tag. More... | |
ResourceLocator (ResourceLocator const &src) | |
Copy construct a ResourceLocator from an example locator. More... | |
~ResourceLocator () override | |
virtual void | locator_tag (std::string const &locator_tag) |
Set the name for this ResourceLocator. More... | |
virtual std::string | locator_tag () const |
Return the name for this ResourceLocator. More... | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Static Public Member Functions | |
static std::string | classname () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Describe the schema for this resource locator to the XSD. More... | |
Private Attributes | |
std::ios_base::openmode | open_mode_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
The FileListResourceLocator concatenates a set of listed files; e.g. useful for constructing a pose from two separate PDB files.
basic::resource_manager::locator::FileListResourceLocator::FileListResourceLocator | ( | ) |
|
static |
std::ios_base::openmode basic::resource_manager::locator::FileListResourceLocator::get_open_mode | ( | ) | const |
References open_mode_.
|
overridevirtual |
Take the input locator tag and split it by whitespace, interpret each substring as the name of a file, and concatenate each file into a single stringstream to be returned.
Implements basic::resource_manager::ResourceLocator.
References ObjexxFCL::getline(), line, open_mode_, basic::resource_manager::locator::FileStream::stream(), and utility::string_split().
|
overridevirtual |
Do nothing, since there is no data that the FileListResourceLocator needs.
Implements basic::resource_manager::ResourceLocator.
|
static |
Describe the schema for this resource locator to the XSD.
References classname(), tag, and basic::resource_manager::locator::xsd_type_definition_w_attributes().
Referenced by basic::resource_manager::locator::FileListResourceLocatorCreator::provide_xml_schema().
void basic::resource_manager::locator::FileListResourceLocator::set_open_mode | ( | std::ios_base::openmode | open_mode | ) |
References open_mode_.
|
overridevirtual |
Describe the FileListResourceLocator to the output stringstream; since this class has no data, merely prints the name of the class.
Implements basic::resource_manager::ResourceLocator.
Referenced by pyrosetta.distributed.viewer.core.Viewer::__call__().
|
overridevirtual |
Return the name for this class: "FileListResourceLocator".
Implements basic::resource_manager::ResourceLocator.
References classname().
|
private |
Referenced by get_open_mode(), locate_resource_stream(), and set_open_mode().