15 #ifndef INCLUDED_basic_database_open_hh
16 #define INCLUDED_basic_database_open_hh
43 std::string
const & db_file,
50 std::string
const & db_file,
58 std::string
const & cache_file,
68 std::string
const & short_name,
69 std::string
const & source_file,
77 #endif // INCLUDED_basic_io_database_open_HH
std::string full_name(std::string const &db_file, bool warn)
Full-path database file name.
bool 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 ...
std::string 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 so...
bool open(utility::io::izstream &db_stream, std::string const &db_file, bool warn)
Open a database file on a provided stream.
izstream: Input file stream wrapper for uncompressed and compressed files
utility::io::izstream forward declarations