28 #ifndef CASA_AIPSRCVECTOR_H 29 #define CASA_AIPSRCVECTOR_H 31 #include <casacore/casa/aips.h> 32 #include <casacore/casa/BasicSL/String.h> 33 #include <casacore/casa/Containers/Block.h> 34 #include <casacore/casa/System/Aipsrc.h> 35 #include <casacore/casa/OS/Mutex.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 192 #undef AipsrcVector_String 194 #define AipsrcVector_Bool AipsrcVector 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
AipsrcVector< T > & operator=(const AipsrcVector< T > &other)
Copy constructor (not implemented)
#define AipsrcVector_Bool
Read multiple values from the Aipsrc resource files.
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().
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.
this file contains all the compiler specific defines
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