28 #ifndef CASA_AIPSRCVECTOR_H
29 #define CASA_AIPSRCVECTOR_H
40 template<
class T>
class Vector;
86 template <
class T>
class AipsrcVector :
public Aipsrc {
103 const Vector<T> &deflt);
112 const Unit &defun,
const Unit &resun);
114 const Unit &defun,
const Unit &resun,
115 const Vector<T> &deflt);
121 const Vector<T> &deflt);
123 const Unit &defun,
const Unit &resun,
124 const Vector<T> &deflt);
129 static const Vector<T> &
get(
uInt keyword);
134 static void set(
uInt keyword,
const Vector<T> &deflt);
160 #define AipsrcVector_String AipsrcVector
180 static void save(
uInt keyword);
192 #undef AipsrcVector_String
194 #define AipsrcVector_Bool AipsrcVector
214 static void save(
uInt keyword);
226 #undef AipsrcVector_Bool
231 #ifndef CASACORE_NO_AUTO_TEMPLATES
232 #include <casacore/casa/System/AipsrcVector.tcc>
233 #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
std::vector< double > Vector
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
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.
#define AipsrcVector_String
Block< Vector< String > > tlst
Wrapper around a pthreads mutex.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
Block< Vector< Bool > > tlst