![]() |
Rosetta
3.7
|
Functions for opening database files. More...
#include <basic/database/open.hh>
#include <basic/Tracer.hh>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <basic/options/option.hh>
#include <utility/io/izstream.hh>
#include <utility/file/file_sys_util.hh>
#include <utility/file/PathName.hh>
#include <utility/excn/Exceptions.hh>
#include <cstdlib>
#include <iostream>
#include <utility/vector1.hh>
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 | |
static THREAD_LOCAL basic::Tracer | basic::database::TR ("basic.io.database") |
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 dir, std::string filename) |
Find a path to a file. More... | |
std::string | basic::database::find_database_path (std::string dir, std::string filename, std::string 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... | |
Functions for opening database files.