352 static void show(ostream &oStream);
AipsrcVector< Double > AipsrcVDouble
static void reRead()
The reRead() function will reinitialise the static maps and read the aipsrc files again...
Specialization of AipsrcValue for Bool.
static const String & aipsHome()
Returns: ~/aips++
AipsrcValue< Double > AipsrcDouble
static Double lastParse
Last time data was (re)read.
A 1-D Specialization of the Array class.
static String extAipsPath
The possibly set external AIPSPATH.
static Bool genGet(String &val, Vector< String > &namlst, Vector< String > &vallst, const String &nam)
Get the value of a keyword.
AipsrcValue< Bool > AipsrcBool
static void parse()
Read in the aipsrc files.
Read multiple values from the Aipsrc resource files.
static Bool findNoHome(String &value, const String &keyword)
static const String & aipsHost()
static void genSave(Vector< String > &namlst, Vector< String > &vallst, const String &fnam)
Save the names/values in file.
static Block< String > strlst
String register list.
static uInt genParse(Block< String > &keywordPattern, Block< String > &keywordValue, uInt &fileEnd, const String &fileList)
The following parse function can be used for any list of files.
static const String & aipsArch()
static std::once_flag theirCallOnceFlag
Object to ensure safe multi-threaded lazy single initialization.
static Bool matchKeyword(uInt &where, const String &keyword, uInt start)
Locate the right keyword in the static maps.
static uInt fileEnd
The start of the non-home values.
static Block< String > keywordValue
List of values belonging to keywords found.
static const Block< String > & patterns()
static Block< String > keywordPattern
List of patterns deducted from names.
AipsrcVector< Int > AipsrcVInt
static Bool findDir(String &foundDir, const String &lastPart="", const Vector< String > &prepends=Vector< String >(), const Vector< String > &appends=Vector< String >(), Bool useStds=True)
Sets foundDir to the first /firstPart/lastPart path that it finds present on the system, where /firstPart comes from, in order, this list: contents of prepends.
static const Block< String > & values()
The following functions return the full lists of available data.
static String home
AIPSHOME.
static void show()
Prints all info on cout.
static Block< uInt > codlst
static const String & aipsRoot()
Returns the appropriate Casacore or system variable values.
static String site
AIPSSITE.
static const String & aipsSite()
static Bool genUnSet(Vector< String > &namlst, Vector< String > &vallst, const String &nam)
Remove a keyword from list (False if not in list)
static void fillAips()
Fill in root, arch, site, host and home.
static Bool find(String &value, const String &keyword)
static Block< String > ncodlst
bool Bool
Define the standard types used by Casacore.
AipsrcValue< Int > AipsrcInt
static void save(uInt keyword)
Save a registered keyword value to $HOME/.aipsrc
static Block< String > nstrlst
Class to read values from the Aipsrc general resource files.
static String arch
AIPSARCH.
Class to read the casa general resource files.
static Bool findNoParse(String &value, const String &keyword, uInt start)
Actual find function to use during parse() without recursing into parse()
static void set(uInt keyword, const String &deflt)
Sets allow registered values to be set.
static void setAipsPath(const String &path=String())
Set an AIPSPATH that should be used in stead of a global AIPSPATH.
String: the storage and methods of handling collections of characters.
static String host
AIPSHOST.
static void doParse(String &fileList)
AipsrcVector< Bool > AipsrcVBool
static uInt registerRC(const String &keyword, const String &deflt)
Functions to register keywords for later use in get() and set().
static void genSet(Vector< String > &namlst, Vector< String > &vallst, const String &nam, const String &val)
Set (new or overwrite) keyword/value pair.
static String root
AIPSROOT.
AipsrcVector< String > AipsrcVString
static uInt genRestore(Vector< String > &namlst, Vector< String > &vallst, const String &fileList)
The following set is a general set of functions.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static Bool filled
Indicate above filled.