28 #ifndef CASA_APPSTATE_H
29 #define CASA_APPSTATE_H
31 #include <casacore/casa/aips.h>
62 virtual std::string
resolve(
const std::string &filename)
const;
65 virtual std::list<std::string>
dataPath( )
const {
66 static std::list<std::string> result;
76 static std::string result;
137 static std::mutex mutex_p;
138 std::lock_guard<std::mutex> lock(mutex_p);
Allow configuration of casacore without environment variables.
static AppState & fetch()
static AppState * user_state
void operator=(AppStateSource const &)
static void initialize(AppState *init)
AppStateSource(AppStateSource const &)
virtual std::list< std::string > dataPath() const
get the list of directories in the data path...
virtual bool initialized() const
virtual std::string resolve(const std::string &filename) const
use the data path to find the filename...
virtual std::string measuresDir() const
Get AppState specified directory for (IERS) measures data.
this file contains all the compiler specific defines