Rosetta  2020.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
open.hh File Reference

Functions for opening database files. More...

#include <utility/io/izstream.fwd.hh>
#include <iosfwd>

Namespaces

 basic
 Tags used to tag messeges sent by MPI functions used to decide whether a slave is requesting a new job id or flagging as job as being a bad input.
 
 basic::database
 

Functions

bool basic::database::open (utility::io::izstream &db_stream, std::string const &db_file, bool warn)
 Open a database file on a provided stream. More...
 
std::string basic::database::full_name (std::string const &db_file, bool warn)
 Full-path database file name. More...
 
std::string basic::database::find_database_path (std::string const &dir, std::string const &filename, bool const mute_error_if_failure)
 Find a path to a file. More...
 
std::string basic::database::find_database_path (std::string const &dir, std::string const &filename, std::string const &ext)
 Find a path to a file. More...
 
bool basic::database::find_cache_file (std::string const &cache_file, bool dir_only)
 Does cache file (absolute path) exist? if dir_only is true, will return true if the cache file could be created. More...
 
std::string basic::database::full_cache_name (std::string const &short_name, std::string const &source_file, bool for_writing)
 Get the (absolute) path to a given cached file. If source_file is given, it's the full path to the source database file that's being cached. If for_writing is true, will only check that the given file would be creatable. Will return an empty string if it can't find a cache file. More...
 

Detailed Description

Functions for opening database files.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)