28 #ifndef CASA_ORDEREDPAIR_H
29 #define CASA_ORDEREDPAIR_H
31 #ifndef AIPS_USE_DEPRECATED
32 #error "OrderedPair.h is deprecated; use -DBUILD_DEPRECATED=ON to use it"
36 #include <casacore/casa/aips.h>
87 const K &
x()
const {
return Key;}
89 const V &
y()
const {
return Val;}
102 #ifndef CASACORE_NO_AUTO_TEMPLATES
103 #include <casacore/casa/Containers/OrderedPair.tcc>
OrderedPair()
Needed for "operator>>(AipsIO &ios, Slist<elem> &list)".
OrderedPair(const OrderedPair< K, V > &that)
Copy constructor (copy semantics).
OrderedPair< K, V > & operator=(const OrderedPair< K, V > &that)
Assignment (copy semantics).
OrderedPair(const K &k, const V &v)
This is the "standard" constructor which takes a key and a value and constructs an ordered pair.
K & x()
Get access to the key or value.
this file contains all the compiler specific defines