casacore
|
Base class for application state. More...
#include <AppState.h>
Public Member Functions | |
virtual std::string | resolve (const std::string &filename) const |
use the data path to find the filename... More... | |
virtual std::list< std::string > | dataPath () const |
get the list of directories in the data path... More... | |
virtual std::string | measuresDir () const |
Get AppState specified directory for (IERS) measures data. More... | |
virtual bool | initialized () const |
virtual | ~AppState () |
Base class for application state.
Public interface
This class is the base class for casacore state. Its purpose is to allow applications initialize casacore's state without resorting to environment variables. This is done by creating an object whose class is derived from this base class, and then initializing the AppStateSource with the newly created object. After initialization, the AppStateSource takes ownership of the object. Please see the documentation for AppStateSource for more information.
Definition at line 58 of file AppState.h.
|
inlinevirtual |
Definition at line 82 of file AppState.h.
|
inlinevirtual |
get the list of directories in the data path...
Definition at line 65 of file AppState.h.
|
inlinevirtual |
Definition at line 80 of file AppState.h.
|
inlinevirtual |
Get AppState specified directory for (IERS) measures data.
If data is not found in the specified directory and the specified directiory name is nonempty (size > 0), an exception will be thrown in findTab.
Definition at line 75 of file AppState.h.
|
virtual |
use the data path to find the filename...