26#ifndef CASA_AIPSRCVECTOR_H
27#define CASA_AIPSRCVECTOR_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/Arrays/ArrayFwd.h>
31#include <casacore/casa/BasicSL/String.h>
32#include <casacore/casa/System/Aipsrc.h>
132 inline static std::vector<Vector<T>>
tlst;
133 inline static std::vector<String>
ntlst;
137#define AipsrcVector_String AipsrcVector
159 inline static std::vector<Vector<String>>
tlst;
160 inline static std::vector<String>
ntlst;
163#undef AipsrcVector_String
165#define AipsrcVector_Bool AipsrcVector
187 inline static std::vector<Vector<Bool>>
tlst;
188 inline static std::vector<String>
ntlst;
191#undef AipsrcVector_Bool
195#ifndef CASACORE_NO_AUTO_TEMPLATES
196#include <casacore/casa/System/AipsrcVector.tcc>
#define AipsrcVector_String
#define AipsrcVector_Bool
static Bool find(Vector< Bool > &value, const String &keyword, const Vector< Bool > &deflt)
static const Vector< Bool > get(uInt keyword)
static Bool find(Vector< Bool > &value, const String &keyword)
static void save(uInt keyword)
static std::vector< String > ntlst
static std::vector< Vector< Bool > > tlst
static uInt registerRC(const String &keyword, const Vector< Bool > &deflt)
static void set(uInt keyword, const Vector< Bool > &deflt)
static std::mutex theirMutex
static std::vector< String > ntlst
static const Vector< String > get(uInt keyword)
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 std::vector< Vector< String > > tlst
static uInt registerRC(const String &keyword, const Vector< String > &deflt)
static void set(uInt keyword, const Vector< String > &deflt)
static void save(uInt keyword)
static const Vector< T > get(uInt keyword)
Gets are like find, but using registered integers rather than names.
static std::vector< Vector< Double > > tlst
static uInt registerRC(const String &keyword, const Unit &defun, const Unit &resun, const Vector< T > &deflt)
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
static Bool find(Vector< T > &value, const String &keyword, const Unit &defun, const Unit &resun, const Vector< T > &deflt)
static void save(uInt keyword)
Save registered value to $HOME/.aipsrc.
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.
static std::vector< String > ntlst
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
bool Bool
Define the standard types used by Casacore.
NewDelAllocator< T > NewDelAllocator< T >::value