28 #ifndef CASA_AIPSRCVALUE_H
29 #define CASA_AIPSRCVALUE_H
157 template <
class T>
class AipsrcValue :
public Aipsrc {
181 static Bool find(T &
value,
const String &keyword,
const T &deflt);
190 const Unit &defun,
const Unit &resun);
192 const Unit &defun,
const Unit &resun,
201 const Unit &defun,
const Unit &resun,
208 static const T &
get(
uInt keyword);
213 static void set(
uInt keyword,
const T &deflt);
243 const Unit &defun,
const Unit &resun);
258 static const Bool &
get(
uInt keyword);
279 #ifndef CASACORE_NO_AUTO_TEMPLATES
280 #include <casacore/casa/System/AipsrcValue.tcc>
281 #endif //# CASACORE_NO_AUTO_TEMPLATES
Specialization of AipsrcValue for Bool.
~AipsrcValue()
See note with constructor.
Block< T > tlst
Register list.
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().
bool Bool
Define the standard types used by Casacore.
static void set(uInt keyword, const T &deflt)
Sets allow registered values to be set.
Wrapper around a pthreads mutex.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.