28 #ifndef CASA_AIPSRCVECTOR_H
29 #define CASA_AIPSRCVECTOR_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Arrays/ArrayFwd.h>
33 #include <casacore/casa/BasicSL/String.h>
34 #include <casacore/casa/Containers/Block.h>
35 #include <casacore/casa/System/Aipsrc.h>
111 const Unit &defun,
const Unit &resun);
113 const Unit &defun,
const Unit &resun,
122 const Unit &defun,
const Unit &resun,
159 #define AipsrcVector_String AipsrcVector
191 #undef AipsrcVector_String
193 #define AipsrcVector_Bool AipsrcVector
225 #undef AipsrcVector_Bool
230 #ifndef CASACORE_NO_AUTO_TEMPLATES
231 #include <casacore/casa/System/AipsrcVector.tcc>
#define AipsrcVector_String
#define AipsrcVector_Bool
Specialization of AipsrcVector for Bool.
static const Vector< Bool > & get(uInt keyword)
static Bool find(Vector< Bool > &value, const String &keyword, const Vector< Bool > &deflt)
static AipsrcVector_Bool myp_p
Block< Vector< Bool > > tlst
static Bool find(Vector< Bool > &value, const String &keyword)
static void save(uInt keyword)
static uInt registerRC(const String &keyword, const Vector< Bool > &deflt)
static void set(uInt keyword, const Vector< Bool > &deflt)
AipsrcVector_Bool< Bool > & operator=(const AipsrcVector_Bool< Bool > &other)
static std::mutex theirMutex
AipsrcVector_Bool(const AipsrcVector_Bool< Bool > &other)
Specialization of AipsrcVector for String.
static Bool find(Vector< String > &value, const String &keyword)
static std::mutex theirMutex
static Bool find(Vector< String > &value, const String &keyword, const Vector< String > &deflt)
static AipsrcVector_String myp_p
AipsrcVector_String(const AipsrcVector_String< String > &other)
static uInt registerRC(const String &keyword, const Vector< String > &deflt)
AipsrcVector_String< String > & operator=(const AipsrcVector_String< String > &other)
static void set(uInt keyword, const Vector< String > &deflt)
Block< Vector< String > > tlst
static void save(uInt keyword)
static const Vector< String > & get(uInt keyword)
AipsrcVector(const AipsrcVector< T > &other)
static uInt registerRC(const String &keyword, const Unit &defun, const Unit &resun, const Vector< T > &deflt)
static AipsrcVector myp_p
static Bool find(Vector< T > &value, const String &keyword, const Unit &defun, const Unit &resun)
These find() functions will, given a keyword, read the values of a matched keyword as a Quantity.
static void set(uInt keyword, const Vector< T > &deflt)
Sets allow registered values to be set.
static Bool find(Vector< T > &value, const String &keyword, const Vector< T > &deflt)
static uInt registerRC(const String &keyword, const Vector< T > &deflt)
Functions to register keywords for later use in get() and set().
static std::mutex theirMutex
AipsrcVector()
Default constructor See a note in AipsrcValue.
Block< Vector< T > > tlst
register list
static Bool find(Vector< T > &value, const String &keyword, const Unit &defun, const Unit &resun, const Vector< T > &deflt)
static const Vector< T > & get(uInt keyword)
Gets are like find, but using registered integers rather than names.
static void save(uInt keyword)
Save registered value to $HOME/.aipsrc
AipsrcVector< T > & operator=(const AipsrcVector< T > &other)
Copy constructor (not implemented)
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.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.