28 #ifndef CASA_AIPSRCVECTOR_H
29 #define CASA_AIPSRCVECTOR_H
85 template <
class T>
class AipsrcVector :
public Aipsrc {
102 const Vector<T> &deflt);
111 const Unit &defun,
const Unit &resun);
113 const Unit &defun,
const Unit &resun,
114 const Vector<T> &deflt);
120 const Vector<T> &deflt);
122 const Unit &defun,
const Unit &resun,
123 const Vector<T> &deflt);
128 static const Vector<T> &
get(
uInt keyword);
133 static void set(
uInt keyword,
const Vector<T> &deflt);
159 #define AipsrcVector_String AipsrcVector
179 static void save(
uInt keyword);
191 #undef AipsrcVector_String
193 #define AipsrcVector_Bool AipsrcVector
213 static void save(
uInt keyword);
225 #undef AipsrcVector_Bool
230 #ifndef CASACORE_NO_AUTO_TEMPLATES
231 #include <casacore/casa/System/AipsrcVector.tcc>
232 #endif //# CASACORE_NO_AUTO_TEMPLATES
static void save(uInt keyword)
Save registered value to $HOME/.aipsrc
A 1-D Specialization of the Array class.
static AipsrcVector_String myp_p
static std::mutex theirMutex
AipsrcVector< T > & operator=(const AipsrcVector< T > &other)
Copy constructor (not implemented)
#define AipsrcVector_Bool
Read multiple values from the Aipsrc resource files.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
static AipsrcVector myp_p
static Bool find(Vector< T > &value, const String &keyword)
The find() functions will, given a keyword, return the value of a matched keyword found in the files...
Block< Vector< T > > tlst
register list
static std::mutex theirMutex
AipsrcVector()
Default constructor See a note in AipsrcValue.
static uInt registerRC(const String &keyword, const Vector< T > &deflt)
Functions to register keywords for later use in get() and set().
static void set(uInt keyword, const Vector< T > &deflt)
Sets allow registered values to be set.
bool Bool
Define the standard types used by Casacore.
static std::mutex theirMutex
#define AipsrcVector_String
Block< Vector< String > > tlst
static AipsrcVector_Bool myp_p
Class to read the casa general resource files.
Specialization of AipsrcVector for String.
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.
Specialization of AipsrcVector for Bool.
Block< Vector< Bool > > tlst