Changeset 1311 in Sophya for trunk/SophyaExt
- Timestamp:
- Nov 9, 2000, 4:39:42 PM (25 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/Makefile
r1223 r1311 3 3 all: $(LIB)libFitsIOServer.a 4 4 clean: 5 rm -f $(OBJ)fits bntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o5 rm -f $(OBJ)fitsautoreader.o $(OBJ)fitsbntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o 6 6 rm -f $(LIB)libFitsIOServer.a 7 $(LIB)libFitsIOServer.a : $(OBJ)fits bntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o7 $(LIB)libFitsIOServer.a : $(OBJ)fitsautoreader.o $(OBJ)fitsbntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o 8 8 $(ARCXX) $(ARCXXFLAGS) $@ $? 9 9 ifeq ($(CXX),cxx) … … 11 11 endif 12 12 13 $(OBJ)fitsautoreader.o: fitsautoreader.cc \ 14 $(INC)pexceptions.h \ 15 $(INC)machdefs.h fitsautoreader.h \ 16 $(INC)anydataobj.h fitsfile.h \ 17 $(INC)ndatablock.h \ 18 $(INC)dvlist.h \ 19 $(INC)objfio.h \ 20 $(INC)ppersist.h \ 21 $(INC)gnumd5.h \ 22 $(INC)mutyv.h \ 23 $(EXTINCPATH)FitsIO/fitsio.h \ 24 $(EXTINCPATH)FitsIO/longnam.h fitstarray.h \ 25 $(INC)tarray.h \ 26 $(INC)basarr.h \ 27 $(INC)utilarr.h fitsspherehealpix.h \ 28 $(INC)spherehealpix.h \ 29 $(INC)sphericalmap.h \ 30 $(INC)smathconst.h \ 31 $(INC)pixelmap.h \ 32 $(INC)spherepos.h \ 33 $(INC)unitvector.h \ 34 $(INC)vector3d.h \ 35 $(INC)longlat.h \ 36 $(INC)utilgeom.h \ 37 $(INC)tvector.h \ 38 $(INC)tmatrix.h \ 39 $(INC)HEALPixUtils.h fitsntuple.h \ 40 $(INC)ntuple.h \ 41 $(INC)ntupintf.h fitsxntuple.h \ 42 $(INC)xntuple.h fitslocalmap.h \ 43 $(INC)localmap.h 13 44 $(OBJ)fitsbntbllineRW.o: fitsbntbllineRW.cc \ 14 45 $(INC)pexceptions.h \ -
trunk/SophyaExt/FitsIOServer/fitsfile.cc
r1300 r1311 1644 1644 for(it = dvl.Begin(); it != dvl.End(); it++) 1645 1645 { 1646 char keytype= (*it).second.elval.typ;1646 MuTyV::MTVType keytype= (*it).second.elval.Type(); 1647 1647 char keyname[10]; 1648 1648 strncpy(keyname,(*it).first.substr(0,64).c_str(),10); … … 1661 1661 switch (keytype) 1662 1662 { 1663 case 'I':1663 case MuTyV::MTVInteger : 1664 1664 { 1665 1665 int ival = (int)dvl.GetI(key); … … 1667 1667 break; 1668 1668 } 1669 case 'D':1669 case MuTyV::MTVFloat : 1670 1670 { 1671 1671 double dval= (double)dvl.GetD(key); … … 1673 1673 break; 1674 1674 } 1675 case 'S':1675 case MuTyV::MTVString : 1676 1676 { 1677 1677 char strvaleur[FLEN_VALUE]= "";
Note:
See TracChangeset
for help on using the changeset viewer.