Changeset 4023 in Sophya for trunk/SophyaExt/FitsIOServer
- Timestamp:
- Oct 2, 2011, 8:25:23 PM (14 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fabtcolread.cc
r3772 r4023 349 349 { 350 350 ColLabel = ""; ColTUnit = ""; ColTForm = ""; 351 ColNum = -1; ColTypeCode = 0; 351 ColNum = -1; ColTypeCode = 0; ColRepeat=0; 352 352 NBcol = 0; NBline = 0; 353 353 SetNulVal(); SetDebug(0); … … 363 363 { 364 364 // Initialisation des Parametres Generaux 365 ColLabel=collabel; ColTUnit=""; ColTForm=""; ColNum=colnum; ColTypeCode=0; 365 ColLabel=collabel; ColTUnit=""; ColTForm=""; ColNum=colnum; ColTypeCode=0; ColRepeat=0; 366 366 NBcol = 0; NBline = 0; 367 367 SetNulVal(); SetDebug(lp); … … 469 469 ColTUnit = tunit; 470 470 ColTForm = tform; 471 ColRepeat = repeat; 471 472 472 473 // Set the buffer for reading … … 475 476 if(DbgLevel) 476 477 cout<<"FitsABTColRd::Init Num="<<ColNum<<" Label="<<ColLabel 477 <<" TypeCode="<<ColTypeCode<<" TUnit="<<ColTUnit<<" TForm="<<ColTForm<< endl;478 <<" TypeCode="<<ColTypeCode<<" TUnit="<<ColTUnit<<" TForm="<<ColTForm<<" Repeat="<<ColRepeat<<endl; 478 479 if(DbgLevel>1) 479 cout<<" (repeat="<<repeat<<",tscale="<<tscale<<",tzero="<<tzero 480 <<",tdisp="<<tdisp<<")"<<endl; 480 cout<<" (tscale="<<tscale<<",tzero="<<tzero<<",tdisp="<<tdisp<<")"<<endl; 481 481 482 482 } … … 503 503 504 504 // Compute buffer caracteristics 505 BuffLen = (blen<=0 )? 1: blen;505 BuffLen = (blen<=0 || ColRepeat!=1)? 1: blen; 506 506 BuffSens = bsens; 507 507 NBuffer = BuffLen; … … 566 566 ///////////////////////////////////////////////// 567 567 /*! 568 Read row "n" and return the value into a double568 Read row "n" element "nfirstel" and return the value into a double 569 569 \warning be carefull for the range: row = [0,NRows[ 570 570 \return value in double … … 576 576 \endverbatim 577 577 */ 578 double FitsABTColRd::Read(LONGLONG n, bool usebuffer)578 double FitsABTColRd::Read(LONGLONG n,long nfirstel,bool usebuffer) 579 579 // Attention: n=nline [0,NBline[, cfistio veut [1,NBline] 580 580 // Attention: colnum [0,NBcol[ , cfistio veut [1,NBcol] 581 // Attention: nfirstel [0,ColRepeat[ , cfistio veut [1,ColRepeat] 581 582 { 582 583 int sta=0; 583 584 if(n<0 || n>=NBline) 584 585 throw RangeCheckError("FitsABTColRd::Read try to read outside line range\n"); 585 586 // Pas de bufferisation, on lit betement 587 if(NBuffer==1 || !usebuffer) { 586 if(nfirstel<0 || nfirstel>=ColRepeat) 587 throw RangeCheckError("FitsABTColRd::Read try to read outside element range: nfirstel>repeat\n"); 588 589 // Pas de bufferisation (ou repeat=1), on lit betement 590 if(NBuffer==1 || !usebuffer || ColRepeat!=1) { 588 591 NFitsRead++; 589 592 double val; 590 fits_read_col(GetFitsPtr(),TDOUBLE,ColNum+1,n+1, 1,1,NULL,&val,NULL,&sta);593 fits_read_col(GetFitsPtr(),TDOUBLE,ColNum+1,n+1,nfirstel+1,1,NULL,&val,NULL,&sta); 591 594 if(sta) { 592 595 FitsOpenFile::printerror(sta); … … 603 606 } 604 607 605 // Gestion avec bufferisation 608 // Gestion avec bufferisation (uniquement dans le cas repeat=1) 606 609 if(!Buffer) 607 610 throw RangeCheckError("FitsABTColRd::Read: Buffer not allocated\n"); … … 669 672 LONGLONG FitsABTColRd::Read(LONGLONG n1,LONGLONG n2,TVector<double>& data) 670 673 { 674 if(ColRepeat>1) 675 throw RangeCheckError("FitsABTColRd::Read TVector not-implemented for repeat>1 \n"); 671 676 if(n1<0 || n1>=NBline) 672 677 throw RangeCheckError("FitsABTColRd::Read TVector bad requested 1srt line \n"); … … 693 698 LONGLONG FitsABTColRd::Read(LONGLONG n1,LONGLONG n2,TVector<float>& data) 694 699 { 700 if(ColRepeat>1) 701 throw RangeCheckError("FitsABTColRd::Read TVector not-implemented for repeat>1 \n"); 695 702 if(n1<0 || n1>=NBline) 696 703 throw RangeCheckError("FitsABTColRd::Read TVector bad requested 1srt line \n"); … … 717 724 LONGLONG FitsABTColRd::Read(LONGLONG n1,LONGLONG n2,TVector<uint_2>& data) 718 725 { 726 if(ColRepeat>1) 727 throw RangeCheckError("FitsABTColRd::Read TVector not-implemented for repeat>1 \n"); 719 728 if(n1<0 || n1>=NBline) 720 729 throw RangeCheckError("FitsABTColRd::Read TVector bad requested 1srt line \n"); … … 740 749 LONGLONG FitsABTColRd::Read(LONGLONG n1,LONGLONG n2,TVector<int_4>& data) 741 750 { 751 if(ColRepeat>1) 752 throw RangeCheckError("FitsABTColRd::Read TVector not-implemented for repeat>1 \n"); 742 753 if(n1<0 || n1>=NBline) 743 754 throw RangeCheckError("FitsABTColRd::Read TVector bad requested 1srt line \n"); … … 766 777 { 767 778 #ifdef TLONGLONG 779 if(ColRepeat>1) 780 throw RangeCheckError("FitsABTColRd::Read TVector not-implemented for repeat>1 \n"); 768 781 if(n1<0 || n1>=NBline) 769 782 throw RangeCheckError("FitsABTColRd::Read TVector bad requested 1srt line \n"); … … 792 805 /*! 793 806 Return the number of the first row where "val1"<=val<="val2" starting at row "rowstart" 807 for element "nfirstel" 794 808 \verbatim 795 809 - The search is performed from "rowstart" to the end … … 800 814 \return <0 means not found 801 815 */ 802 LONGLONG FitsABTColRd::FirstRow(double val1,double val2,LONGLONG rowstart) 803 { 816 LONGLONG FitsABTColRd::FirstRow(long nfirstel,double val1,double val2,LONGLONG rowstart) 817 { 818 if(nfirstel<0 || nfirstel>=ColRepeat) 819 throw RangeCheckError("FitsABTColRd::FirstRow try to read outside element range: nfirstel>repeat\n"); 804 820 LONGLONG row = -1; 805 821 if(NBline==0) return row; … … 810 826 if(rowstart>=NBline) rowstart = NBline-1; 811 827 for(LONGLONG i=rowstart;i<NBline;i++) { 812 double val = Read(i );828 double val = Read(i,nfirstel); 813 829 if(val<val1 || val>val2) continue; 814 830 row = i; … … 820 836 821 837 /*! 822 Return the number of the first row where val1<=val<=val2 starting at row rowstart 838 Return the number of the last row where val1<=val<=val2 starting at row rowstart 839 for element "nfirstel" 823 840 \return <0 means not found 824 841 \verbatim … … 829 846 \endverbatim 830 847 */ 831 LONGLONG FitsABTColRd::LastRow(double val1,double val2,LONGLONG rowstart) 832 { 848 LONGLONG FitsABTColRd::LastRow(long nfirstel,double val1,double val2,LONGLONG rowstart) 849 { 850 if(nfirstel<0 || nfirstel>=ColRepeat) 851 throw RangeCheckError("FitsABTColRd::FirstRow try to read outside element range: nfirstel>repeat\n"); 833 852 LONGLONG row = -1; 834 853 if(NBline==0) return row; … … 838 857 if(rowstart<0 || rowstart>=NBline) rowstart = NBline-1; 839 858 for(LONGLONG i=rowstart;i>=0;i--) { 840 double val = Read(i );859 double val = Read(i,nfirstel); 841 860 if(val<val1 || val>val2) continue; 842 861 row = i; … … 855 874 os<<"\n... "<<FileName()<<"["<<HDU()<<"/"<<NHDU()<<" type="<<HDUType()<<"]" 856 875 <<"\n... Label["<<ColNum<<"]="<<ColLabel<<" TypeCode="<<ColTypeCode 857 <<" TUnit="<<ColTUnit<<" TForm="<<ColTForm 876 <<" TUnit="<<ColTUnit<<" TForm="<<ColTForm<<" Repeat="<<ColRepeat 858 877 <<endl; 859 878 } … … 983 1002 { 984 1003 // Initialisation des Parametres Generaux 985 ColLabel.resize(0); ColTUnit.resize(0); ColTForm.resize(0); ColTypeCode.resize(0); 1004 ColLabel.resize(0); ColTUnit.resize(0); ColTForm.resize(0); ColTypeCode.resize(0); ColRepeat.resize(0); 986 1005 NBcol = 0; NBline = 0; 987 1006 SetNulVal(); SetDebug(lp); … … 1077 1096 ColTUnit.push_back(tunit); 1078 1097 ColTForm.push_back(tform); 1098 ColRepeat.push_back(repeat); 1079 1099 // fill the default buffer limits at init 1080 1100 LineDeb.push_back(-1); … … 1083 1103 if(DbgLevel) 1084 1104 cout<<"FitsABTColRd1F::Init Num="<<ColNum<<" Label="<<ColLabel[ColNum] 1085 <<" TypeCode="<<ColTypeCode[ColNum]<<" TUnit="<<ColTUnit[ColNum]<<" TForm="<<ColTForm[ColNum]<< endl;1105 <<" TypeCode="<<ColTypeCode[ColNum]<<" TUnit="<<ColTUnit[ColNum]<<" TForm="<<ColTForm[ColNum]<<" Repeat="<<ColRepeat[ColNum]<<endl; 1086 1106 if(DbgLevel>1) 1087 cout<<" (repeat="<<repeat<<",tscale="<<tscale<<",tzero="<<tzero 1088 <<",tdisp="<<tdisp<<")"<<endl; 1107 cout<<" (tscale="<<tscale<<",tzero="<<tzero<<",tdisp="<<tdisp<<")"<<endl; 1089 1108 } // ***** ColNum 1090 1109 … … 1198 1217 ///////////////////////////////////////////////// 1199 1218 /*! 1200 Read row "n" of column "ColNum" and return the value into a double1219 Read row "n" element "nfirstel" of column "ColNum" and return the value into a double 1201 1220 \warning be carefull for the range: row = [0,NRows[ 1202 1221 \return value in double … … 1208 1227 \endverbatim 1209 1228 */ 1210 double FitsABTColRd1F::Read(int ColNum,LONGLONG n, bool usebuffer)1229 double FitsABTColRd1F::Read(int ColNum,LONGLONG n,long nfirstel,bool usebuffer) 1211 1230 // Attention: n=nline [0,NBline[, cfistio veut [1,NBline] 1212 1231 // Attention: colnum [0,NBcol[ , cfistio veut [1,NBcol] 1232 // Attention: nfirstel [0,ColRepeat[ , cfistio veut [1,ColRepeat] 1213 1233 { 1214 1234 int sta=0; … … 1217 1237 if(n<0 || n>=NBline) 1218 1238 throw RangeCheckError("FitsABTColRd1F::Read try to read outside line range\n"); 1219 1220 // Pas de bufferisation, on lit betement 1221 if(NBuffer==1 || !usebuffer) { 1239 if(nfirstel<0 || nfirstel>=ColRepeat[ColNum]) 1240 throw RangeCheckError("FitsABTColRd1F::Read try to read outside element range: nfirstel>repeat\n"); 1241 1242 // Pas de bufferisation (ou repeat=1), on lit betement 1243 if(NBuffer==1 || !usebuffer || ColRepeat[ColNum]!=1) { 1222 1244 double val; 1223 fits_read_col(GetFitsPtr(),TDOUBLE,ColNum+1,n+1, 1,1,NULL,&val,NULL,&sta);1245 fits_read_col(GetFitsPtr(),TDOUBLE,ColNum+1,n+1,nfirstel+1,1,NULL,&val,NULL,&sta); 1224 1246 if(sta) { 1225 1247 FitsOpenFile::printerror(sta); … … 1236 1258 } 1237 1259 1238 // Gestion avec bufferisation 1260 // Gestion avec bufferisation (uniquement dans le cas repeat=1) 1239 1261 if(!Buffer) 1240 1262 throw RangeCheckError("FitsABTColRd1F::Read: Buffer not allocated\n"); -
trunk/SophyaExt/FitsIOServer/fabtcolread.h
r3772 r4023 83 83 string ReadKeyS(const char *keyname); 84 84 85 double Read(LONGLONG n,bool usebuffer=true); 85 double Read(LONGLONG n,long nfirstel,bool usebuffer=true); 86 inline double Read(LONGLONG n,bool usebuffer=true) {return Read(n,0,usebuffer);} 86 87 87 88 LONGLONG Read(LONGLONG n1,LONGLONG n2,TVector<uint_2>& data); … … 92 93 93 94 //! return the value of the first row 94 double ReadFirstRow( bool usebuffer=false)95 95 double ReadFirstRow(long nfirstel,bool usebuffer=false) {return Read(0,nfirstel,usebuffer);} 96 double ReadFirstRow(bool usebuffer=false) {return Read(0,usebuffer);} 96 97 //! return the value of the last row 97 double ReadLastRow(bool usebuffer=false) 98 {return Read(NBline-1,usebuffer);} 99 100 LONGLONG FirstRow(double val1,double val2,LONGLONG rowstart=-1); 101 LONGLONG LastRow(double val1,double val2,LONGLONG rowstart=-1); 98 double ReadLastRow(long nfirstel,bool usebuffer=false) {return Read(NBline-1,nfirstel,usebuffer);} 99 double ReadLastRow(bool usebuffer=false) {return Read(NBline-1,usebuffer);} 100 101 LONGLONG FirstRow(long nfirstel,double val1,double val2,LONGLONG rowstart=-1); 102 inline LONGLONG FirstRow(double val1,double val2,LONGLONG rowstart=-1) 103 {return FirstRow(0,val1,val2,rowstart);} 104 LONGLONG LastRow(long nfirstel,double val1,double val2,LONGLONG rowstart=-1); 105 inline LONGLONG LastRow(double val1,double val2,LONGLONG rowstart=-1) 106 {return LastRow(0,val1,val2,rowstart);} 102 107 103 108 //! Set debug level … … 135 140 //! Get the columns fits tform that is read 136 141 inline string GetColTForm(void) const {return ColTForm;} 142 //! Get the columns fits repeat that is read 143 inline long GetColRepeat(void) const {return ColRepeat;} 137 144 //! Get the read requested buffer length 138 145 inline long GetBLen(void) const {return BuffLen;} … … 155 162 string ColLabel,ColTUnit,ColTForm; 156 163 int ColNum,ColTypeCode,NBcol; 164 long ColRepeat; 157 165 LONGLONG NBline; 158 166 … … 201 209 string ReadKeyS(const char *keyname); 202 210 203 double Read(int ColNum,LONGLONG n,bool usebuffer=true); 211 double Read(int ColNum,LONGLONG n,long nfirstel,bool usebuffer=true); 212 inline double Read(int ColNum,LONGLONG n,bool usebuffer=true) {return Read(ColNum,n,0,usebuffer);} 204 213 int GetColNum(const char *colname); 205 214 … … 240 249 inline string GetColTForm(int ColNum) const 241 250 {if(ColNum<0 || ColNum>=NBcol) return string(""); else return ColTForm[ColNum];} 251 //! Get the columns fits repeat that is read 252 inline long GetColRepeat(int ColNum) const 253 {if(ColNum<0 || ColNum>=NBcol) return -999; else return ColRepeat[ColNum];} 242 254 //! Get the read requested buffer length 243 255 inline long GetBLen(void) const {return BuffLen;} … … 260 272 vector<string> ColLabel,ColTUnit,ColTForm; 261 273 vector<int> ColTypeCode; 274 vector<long> ColRepeat; 262 275 int NBcol; 263 276 LONGLONG NBline; -
trunk/SophyaExt/FitsIOServer/fabtwriter.cc
r3668 r4023 532 532 \param col : column number [0,ncol[ 533 533 \param row : row number [0,nrow[ 534 \param nfirstel : element number [0,repeat[ 534 535 \param val : value to be written 535 536 \warning that routine write a SHORT value into column "col" … … 539 540 WARNING: suppose that the column has be defined to be TSHORT 540 541 and suppose that you wanted to write a double value "val" 541 - If you write dummy.Write(col,row, (short)(val))542 the Write(int,long, short) routine is called and542 - If you write dummy.Write(col,row,nfirstel,(short)(val)) 543 the Write(int,long,long,short) routine is called and 543 544 the cast is performed by the C++ language. 544 - If you write dummy.Write(col,row, val) where val is double545 the Write(int,long, double) routine is called and545 - If you write dummy.Write(col,row,nfirstel,val) where val is double 546 the Write(int,long,long,double) routine is called and 546 547 the cast is performed by the cfistio package. 547 548 \endverbatim … … 549 550 550 551 /*! Write signed char (1 Byte) data to FITS file (see below) */ 551 void FitsABTWriter::Write(int col,LONGLONG row, int_1 val)552 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,int_1 val) 552 553 { 553 554 #ifdef TSBYTE 554 555 if(FirstTime) createtbl(); 555 556 int sta=0; 556 if(fits_write_col(FitsPtr,TSBYTE,col+1,row+1, 1,1,&val,&sta))557 if(fits_write_col(FitsPtr,TSBYTE,col+1,row+1,nfirstel+1,1,&val,&sta)) 557 558 printerrorwrite("signed char",col,row,sta); 558 559 #else … … 562 563 563 564 /*! Write unsigned char (1 Byte) data to FITS file (see below) */ 564 void FitsABTWriter::Write(int col,LONGLONG row, uint_1 val)565 { 566 if(FirstTime) createtbl(); 567 int sta=0; 568 if(fits_write_col(FitsPtr,TBYTE,col+1,row+1, 1,1,&val,&sta))565 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,uint_1 val) 566 { 567 if(FirstTime) createtbl(); 568 int sta=0; 569 if(fits_write_col(FitsPtr,TBYTE,col+1,row+1,nfirstel+1,1,&val,&sta)) 569 570 printerrorwrite("unsigned char",col,row,sta); 570 571 } 571 572 572 573 /*! Write short (2 Bytes) data to FITS file (see below) */ 573 void FitsABTWriter::Write(int col,LONGLONG row, int_2 val)574 { 575 if(FirstTime) createtbl(); 576 int sta=0; 577 if(fits_write_col(FitsPtr,TSHORT,col+1,row+1, 1,1,&val,&sta))574 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,int_2 val) 575 { 576 if(FirstTime) createtbl(); 577 int sta=0; 578 if(fits_write_col(FitsPtr,TSHORT,col+1,row+1,nfirstel+1,1,&val,&sta)) 578 579 printerrorwrite("short",col,row,sta); 579 580 } 580 581 581 582 /*! Write unsigned short (2 Bytes) data to FITS file (see below) */ 582 void FitsABTWriter::Write(int col,LONGLONG row, uint_2 val)583 { 584 if(FirstTime) createtbl(); 585 int sta=0; 586 if(fits_write_col(FitsPtr,TUSHORT,col+1,row+1, 1,1,&val,&sta))583 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,uint_2 val) 584 { 585 if(FirstTime) createtbl(); 586 int sta=0; 587 if(fits_write_col(FitsPtr,TUSHORT,col+1,row+1,nfirstel+1,1,&val,&sta)) 587 588 printerrorwrite("unsigned short",col,row,sta); 588 589 } 589 590 590 591 /*! Write long (4 Bytes) data to FITS file (see below) */ 591 void FitsABTWriter::Write(int col,LONGLONG row, int_4 val)592 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,int_4 val) 592 593 { 593 594 if(FirstTime) createtbl(); … … 595 596 // Bug ou inconsistence cfitsio sur machine ou long=8Bytes ? 596 597 int T = (sizeof(long)==4) ? TLONG: TINT; 597 if(fits_write_col(FitsPtr,T,col+1,row+1, 1,1,&val,&sta))598 if(fits_write_col(FitsPtr,T,col+1,row+1,nfirstel+1,1,&val,&sta)) 598 599 printerrorwrite("long",col,row,sta); 599 600 } 600 601 601 602 /*! Write unsigned long (4 Bytes) data to FITS file (see below) */ 602 void FitsABTWriter::Write(int col,LONGLONG row, uint_4 val)603 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,uint_4 val) 603 604 { 604 605 if(FirstTime) createtbl(); … … 606 607 // Bug ou inconsistence cfitsio sur machine ou long=8Bytes ? 607 608 int T = (sizeof(unsigned long)==4) ? TULONG: TUINT; 608 if(fits_write_col(FitsPtr,T,col+1,row+1, 1,1,&val,&sta))609 if(fits_write_col(FitsPtr,T,col+1,row+1,nfirstel+1,1,&val,&sta)) 609 610 printerrorwrite("long",col,row,sta); 610 611 } 611 612 612 613 /*! Write long long (8 Bytes) data to FITS file (see below) */ 613 void FitsABTWriter::Write(int col,LONGLONG row, int_8 val)614 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,int_8 val) 614 615 { 615 616 #ifdef TLONGLONG 616 617 if(FirstTime) createtbl(); 617 618 int sta=0; 618 if(fits_write_col(FitsPtr,TLONGLONG,col+1,row+1, 1,1,&val,&sta))619 if(fits_write_col(FitsPtr,TLONGLONG,col+1,row+1,nfirstel+1,1,&val,&sta)) 619 620 printerrorwrite("long long",col,row,sta); 620 621 #else … … 624 625 625 626 /*! Write float data to FITS file (see below) */ 626 void FitsABTWriter::Write(int col,LONGLONG row, float val)627 { 628 if(FirstTime) createtbl(); 629 int sta=0; 630 if(fits_write_col(FitsPtr,TFLOAT,col+1,row+1, 1,1,&val,&sta))627 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,float val) 628 { 629 if(FirstTime) createtbl(); 630 int sta=0; 631 if(fits_write_col(FitsPtr,TFLOAT,col+1,row+1,nfirstel+1,1,&val,&sta)) 631 632 printerrorwrite("float",col,row,sta); 632 633 } 633 634 634 635 /*! Write double data to FITS file (see below) */ 635 void FitsABTWriter::Write(int col,LONGLONG row, double val)636 { 637 if(FirstTime) createtbl(); 638 int sta=0; 639 if(fits_write_col(FitsPtr,TDOUBLE,col+1,row+1, 1,1,&val,&sta))636 void FitsABTWriter::Write(int col,LONGLONG row,long nfirstel,double val) 637 { 638 if(FirstTime) createtbl(); 639 int sta=0; 640 if(fits_write_col(FitsPtr,TDOUBLE,col+1,row+1,nfirstel+1,1,&val,&sta)) 640 641 printerrorwrite("double",col,row,sta); 641 642 } … … 649 650 \return "N" = number of the next row to be written, 650 651 that is "N-1" is the number of the last row written. 652 \warning : be carefull if "repeat" not egal to 1 651 653 */ 652 654 -
trunk/SophyaExt/FitsIOServer/fabtwriter.h
r3668 r4023 104 104 {return addcol(label,tform,tunit,datatype);} 105 105 106 void Write(int col,LONGLONG row,int_1 val); 107 void Write(int col,LONGLONG row,uint_1 val); 108 void Write(int col,LONGLONG row,int_2 val); 109 void Write(int col,LONGLONG row,uint_2 val); 110 void Write(int col,LONGLONG row,int_4 val); 111 void Write(int col,LONGLONG row,uint_4 val); 112 void Write(int col,LONGLONG row,int_8 val); 113 void Write(int col,LONGLONG row,float val); 114 void Write(int col,LONGLONG row,double val); 106 void Write(int col,LONGLONG row,long nfirstel,int_1 val); 107 void Write(int col,LONGLONG row,long nfirstel,uint_1 val); 108 void Write(int col,LONGLONG row,long nfirstel,int_2 val); 109 void Write(int col,LONGLONG row,long nfirstel,uint_2 val); 110 void Write(int col,LONGLONG row,long nfirstel,int_4 val); 111 void Write(int col,LONGLONG row,long nfirstel,uint_4 val); 112 void Write(int col,LONGLONG row,long nfirstel,int_8 val); 113 void Write(int col,LONGLONG row,long nfirstel,float val); 114 void Write(int col,LONGLONG row,long nfirstel,double val); 115 116 inline void Write(int col,LONGLONG row,int_1 val) {Write(col,row,0,val);} 117 inline void Write(int col,LONGLONG row,uint_1 val) {Write(col,row,0,val);} 118 inline void Write(int col,LONGLONG row,int_2 val) {Write(col,row,0,val);} 119 inline void Write(int col,LONGLONG row,uint_2 val) {Write(col,row,0,val);} 120 inline void Write(int col,LONGLONG row,int_4 val) {Write(col,row,0,val);} 121 inline void Write(int col,LONGLONG row,uint_4 val) {Write(col,row,0,val);} 122 inline void Write(int col,LONGLONG row,int_8 val) {Write(col,row,0,val);} 123 inline void Write(int col,LONGLONG row,float val) {Write(col,row,0,val);} 124 inline void Write(int col,LONGLONG row,double val) {Write(col,row,0,val);} 125 115 126 LONGLONG Write(int col,LONGLONG row,TVector<uint_2>& val); 116 127 LONGLONG Write(int col,LONGLONG row,TVector<int_4>& val);
Note:
See TracChangeset
for help on using the changeset viewer.