From b710786dab43b9998d60124fe8bcc9189356a0b5 Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Sun, 7 Feb 2016 13:42:59 +1000 Subject: [PATCH] Gmt module: Add BaseM2Double for easy access to parameters with multiple names. --- modules/gmt/modgmt_func.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gmt/modgmt_func.h b/modules/gmt/modgmt_func.h index 6a713aa..28f36b3 100644 --- a/modules/gmt/modgmt_func.h +++ b/modules/gmt/modgmt_func.h @@ -236,6 +236,9 @@ class SourceMultiInputNames bool Exist() const {return exist;} }; +// Simple type for multiple input names +typedef GetDouble > BaseM2Double; + // Definitions for ObjectGMTCoord template<> class TypeStorage: public gTypeStorage {}; typedef TypeStorage::Base2Type Base2Coord;