28 #ifndef CASA_JSONKVMAP_H 29 #define CASA_JSONKVMAP_H 31 #include <casacore/casa/Json/JsonValue.h> 73 typedef std::map<String,JsonValue>::iterator
iterator;
87 {
return find(name) != end(); }
104 void show (ostream&)
const;
DComplex getDComplex(const String &name, const DComplex &defVal) const
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
JsonKVMap & operator=(const JsonKVMap &that)
Assignment (copy semantics)
Bool getBool(const String &name, Bool defVal) const
const String & getString(const String &name, const String &defVal) const
std::map< String, JsonValue >::const_iterator const_iterator
Class to hold a collection of JSON key:value pairs.
Int64 getInt(const String &name, Int64 defVal) const
std::complex< Double > DComplex
std::map< String, JsonValue >::iterator iterator
bool Bool
Define the standard types used by Casacore.
Class to hold any JSON value.
void show(ostream &) const
friend ostream & operator<<(ostream &, const JsonKVMap &)
double getDouble(const String &name, double defVal) const
Bool isDefined(const String &name) const
Is a key defined?
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines