28 #ifndef CASA_AIPSRCVALUE_H
29 #define CASA_AIPSRCVALUE_H
159 template <
class T>
class AipsrcValue :
public Aipsrc {
183 static Bool find(T &
value,
const String &keyword,
const T &deflt);
192 const Unit &defun,
const Unit &resun);
194 const Unit &defun,
const Unit &resun,
203 const Unit &defun,
const Unit &resun,
210 static const T &
get(
uInt keyword);
215 static void set(
uInt keyword,
const T &deflt);
245 const Unit &defun,
const Unit &resun);
260 static const Bool &
get(
uInt keyword);
281 #ifndef CASACORE_NO_AUTO_TEMPLATES
282 #include <casacore/casa/System/AipsrcValue.tcc>
283 #endif //# CASACORE_NO_AUTO_TEMPLATES
Specialization of AipsrcValue for Bool.
~AipsrcValue()
See note with constructor.
Block< T > tlst
Register list.
static std::mutex theirMutex
static AipsrcValue myp_p
The global AipsrcValue object.
static Bool find(T &value, const String &keyword)
The find() functions will, given a keyword, return the value of a matched keyword found in the files...
AipsrcValue()
Default constructor Tip: A constructor (and destructor) have been provided to be able to generate a ...
static uInt registerRC(const String &keyword, const T &deflt)
Functions to register keywords for later use in get() and set().
static std::mutex theirMutex
bool Bool
Define the standard types used by Casacore.
static void set(uInt keyword, const T &deflt)
Sets allow registered values to be set.
AipsrcValue< T > & operator=(const AipsrcValue< T > &other)
Copy constructor (not implemented)
Class to read values from the Aipsrc general resource files.
static void save(uInt keyword)
Save registered value to $HOME/.aipsrc
Class to read the casa general resource files.
String: the storage and methods of handling collections of characters.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.