casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::AppState Class Reference

Base class for application state. More...

#include <AppState.h>

Inheritance diagram for casacore::AppState:
casatools::State

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 bool initialized () const
 
virtual ~AppState ()
 

Detailed Description

Base class for application state.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Synopsis

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 56 of file AppState.h.

Constructor & Destructor Documentation

virtual casacore::AppState::~AppState ( )
inlinevirtual

Definition at line 70 of file AppState.h.

Member Function Documentation

virtual std::list<std::string> casacore::AppState::dataPath ( ) const
inlinevirtual

get the list of directories in the data path...

Reimplemented in casatools::State.

Definition at line 63 of file AppState.h.

virtual bool casacore::AppState::initialized ( ) const
inlinevirtual

Reimplemented in casatools::State.

Definition at line 68 of file AppState.h.

virtual std::string casacore::AppState::resolve ( const std::string &  filename) const
virtual

use the data path to find the filename...


The documentation for this class was generated from the following file: