11 #ifndef ODBAPISettings_H
12 #define ODBAPISettings_H
14 #include "eckit/thread/ThreadSingleton.h"
15 #include "eckit/io/Length.h"
35 eckit::DataHandle*
writeToFile(
const eckit::PathName&,
const eckit::Length& = eckit::Length(0),
bool openDataHandle =
true);
36 eckit::DataHandle*
appendToFile(
const eckit::PathName&,
const eckit::Length& = eckit::Length(0),
bool openDataHandle =
true);
38 void setHome(
const char *argv0);
void setHome(const char *argv0)
static void createDirectories(const eckit::PathName &path)
eckit::DataHandle * writeToFile(const eckit::PathName &, const eckit::Length &=eckit::Length(0), bool openDataHandle=true)
std::string fileInHome(const std::string &)
void treatIntegersAsDoubles(bool flag)
size_t headerBufferSize()
eckit::DataHandle * appendToFile(const eckit::PathName &, const eckit::Length &=eckit::Length(0), bool openDataHandle=true)
static ODBAPISettings & instance()
bool integersAsDoubles() const