![]() |
Rosetta Utilities
2014.35
|
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 () | |
FileListResourceLocator (FileListResourceLocator const &src) | |
virtual | ~FileListResourceLocator () |
virtual void | show (std::ostream &out) const |
Describe the FileListResourceLocator to the output stringstream; since this class has no data, merely prints the name of the class. More... | |
virtual std::string | type () const |
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 |
virtual ResourceStreamOP | locate_resource_stream (std::string const &locator_tag) const |
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... | |
virtual void | parse_my_tag (utility::tag::TagCOP tag) |
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... | |
virtual | ~ResourceLocator () |
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... | |
![]() | |
void | ctor () |
virtual | ~ReferenceCount () |
Destructor. More... | |
Size | ref_count () const |
Reference count. More... | |
Private Attributes | |
std::ios_base::openmode | open_mode_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
ReferenceCount (ReferenceCount const &) | |
Copy constructor. More... | |
ReferenceCount & | operator= (ReferenceCount const &) |
Copy assignment. More... | |
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 | ( | ) |
basic::resource_manager::locator::FileListResourceLocator::FileListResourceLocator | ( | FileListResourceLocator const & | src | ) |
|
virtual |
std::ios_base::openmode basic::resource_manager::locator::FileListResourceLocator::get_open_mode | ( | ) | const |
References open_mode_.
|
virtual |
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 utility::io::getline(), line, open_mode_, basic::resource_manager::locator::FileStream::stream(), and utility::string_split().
|
virtual |
Do nothing, since there is no data that the FileListResourceLocator needs.
Implements basic::resource_manager::ResourceLocator.
void basic::resource_manager::locator::FileListResourceLocator::set_open_mode | ( | std::ios_base::openmode | open_mode | ) |
References open_mode_.
|
virtual |
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.
|
virtual |
Return the name for this class: "FileListResourceLocator".
Implements basic::resource_manager::ResourceLocator.
|
private |
Referenced by get_open_mode(), locate_resource_stream(), and set_open_mode().