diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-02 19:11:06 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-02 19:11:06 (GMT) |
commit | 33c55bd916dff8c4932b01c7db58f0103ac31c31 (patch) | |
tree | a4cdca3287dd2df5247ce8079c424ffa438b4c2e /ast/loader.c | |
parent | 4121637f3d41d6dc23e6543a445b5a3aed9e6ddc (diff) | |
download | blt-33c55bd916dff8c4932b01c7db58f0103ac31c31.zip blt-33c55bd916dff8c4932b01c7db58f0103ac31c31.tar.gz blt-33c55bd916dff8c4932b01c7db58f0103ac31c31.tar.bz2 |
update ast
Diffstat (limited to 'ast/loader.c')
-rw-r--r-- | ast/loader.c | 192 |
1 files changed, 0 insertions, 192 deletions
diff --git a/ast/loader.c b/ast/loader.c deleted file mode 100644 index 58bd04e..0000000 --- a/ast/loader.c +++ /dev/null @@ -1,192 +0,0 @@ -#define astCLASS -#include "axis.h" -#include "box.h" -#include "channel.h" -#include "circle.h" -#include "cmpframe.h" -#include "cmpmap.h" -#include "cmpregion.h" -#include "dsbspecframe.h" -#include "dssmap.h" -#include "ellipse.h" -#include "fitschan.h" -#include "fluxframe.h" -#include "timeframe.h" -#include "timemap.h" -#include "frame.h" -#include "frameset.h" -#include "grismmap.h" -#include "interval.h" -#include "intramap.h" -#include "keymap.h" -#include "loader.h" -#include "lutmap.h" -#include "mapping.h" -#include "mathmap.h" -#include "matrixmap.h" -#include "nullregion.h" -#include "object.h" -#include "pcdmap.h" -#include "permmap.h" -#include "plot.h" -#include "plot3d.h" -#include "pointlist.h" -#include "pointset.h" -#include "polygon.h" -#include "polymap.h" -#include "prism.h" -#include "normmap.h" -#include "ratemap.h" -#include "region.h" -#include "shiftmap.h" -#include "skyaxis.h" -#include "skyframe.h" -#include "slamap.h" -#include "specfluxframe.h" -#include "specframe.h" -#include "specmap.h" -#include "sphmap.h" -#include "tranmap.h" -#include "selectormap.h" -#include "switchmap.h" -#include "unitmap.h" -#include "wcsmap.h" -#include "winmap.h" -#include "xmlchan.h" -#include "zoommap.h" -#include "stc.h" -#include "stcresourceprofile.h" -#include "stcsearchlocation.h" -#include "stccatalogentrylocation.h" -#include "stcobsdatalocation.h" -#include "stcschan.h" -#include "table.h" -#include "fitstable.h" - -#include "error.h" -#include "ast_err.h" -#include <stddef.h> -#include <string.h> - -/* -*+ -* Copyright: -* Copyright (C) 1997-2006 Council for the Central Laboratory of the -* Research Councils - -* Licence: -* This program is free software: you can redistribute it and/or -* modify it under the terms of the GNU Lesser General Public -* License as published by the Free Software Foundation, either -* version 3 of the License, or (at your option) any later -* version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General -* License along with this program. If not, see -* <http://www.gnu.org/licenses/>. - -* Authors: -* RFWS: R.F. Warren-Smith (Starlink) -* DSB: David S. Berry (Starlink) - -* History: -* 18-NOV-1997 (RFWS): -* Original version. -* 18-MAR-1998 (RFWS): -* Added the IntraMap class. -* 3-JUN-1999 (RFWS): -* Added the PcdMap class. -* 17-AUG-1999 (RFWS): -* Added the MathMap class. -* 8-JAN-2003 (DSB): -* Added the SpecMap and SpecFrame classes. -* 15-JUL-2003 (DSB): -* Added the GrsimMap class. -* 6-FEB-2009 (DSB): -* Added the StcsChan class. -*- -*/ - -AstLoaderType *astGetLoader( const char *class, int *status ) { - if ( !astOK ) return NULL; - -#define LOAD(name) \ -if ( !strcmp( class, #name ) ) return (AstLoaderType *) astLoad##name##_ - - LOAD(Axis); - LOAD(Box); - LOAD(Channel); - LOAD(Circle); - LOAD(CmpFrame); - LOAD(CmpMap); - LOAD(CmpRegion); - LOAD(DSBSpecFrame); - LOAD(DssMap); - LOAD(Ellipse); - LOAD(FitsChan); - LOAD(FitsTable); - LOAD(FluxFrame); - LOAD(Frame); - LOAD(FrameSet); - LOAD(GrismMap); - LOAD(Interval); - LOAD(IntraMap); - LOAD(KeyMap); - LOAD(LutMap); - LOAD(Mapping); - LOAD(MathMap); - LOAD(MatrixMap); - LOAD(NullRegion); - LOAD(Object); - LOAD(PcdMap); - LOAD(PermMap); - LOAD(Plot); - LOAD(Plot3D); - LOAD(PointList); - LOAD(PointSet); - LOAD(PolyMap); - LOAD(Polygon); - LOAD(Prism); - LOAD(NormMap); - LOAD(RateMap); - LOAD(Region); - LOAD(ShiftMap); - LOAD(SkyAxis); - LOAD(SkyFrame); - LOAD(SlaMap); - LOAD(SpecFluxFrame); - LOAD(SpecFrame); - LOAD(SpecMap); - LOAD(SphMap); - LOAD(SelectorMap); - LOAD(SwitchMap); - LOAD(Table); - LOAD(TimeFrame); - LOAD(TimeMap); - LOAD(TranMap); - LOAD(UnitMap); - LOAD(WcsMap); - LOAD(WinMap); - LOAD(XmlChan); - LOAD(ZoomMap); - - LOAD(StcsChan); - LOAD(Stc); - LOAD(StcResourceProfile); - LOAD(StcSearchLocation); - LOAD(StcCatalogEntryLocation); - LOAD(StcObsDataLocation); - - astError( AST__OCLUK, "astGetLoader: Object of unknown class \"%s\" cannot " - "be loaded.", status, class ); - return NULL; -#undef LOAD -} - - - |