Changeset 17128 for trunk/Mars/mcore
- Timestamp:
- 09/07/13 16:09:51 (11 years ago)
- Location:
- trunk/Mars/mcore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/Interpolator2D.h
r17122 r17128 18 18 19 19 #include <float.h> 20 #include <math.h> 20 21 #include <vector> 21 22 … … 330 331 inputGrid.clear(); 331 332 inputGrid.reserve(v.size()); 332 for (s ize_t i=0; i<v.size(); i++)333 for (std::size_t i=0; i<v.size(); i++) 333 334 inputGrid.emplace_back(i, v[i].x, v[i].y); 334 335 … … 378 379 outputGrid.clear(); 379 380 outputGrid.reserve(v.size()); 380 for (s ize_t i=0; i<v.size(); i++)381 for (std::size_t i=0; i<v.size(); i++) 381 382 outputGrid.emplace_back(i, v[i].first, v[i].second); 382 383 -
trunk/Mars/mcore/checksum.h
r16897 r17128 5 5 #include <arpa/inet.h> 6 6 #endif 7 8 #include <stdint.h> 7 9 8 10 namespace std -
trunk/Mars/mcore/fits.h
r17052 r17128 2 2 #define MARS_fits 3 3 4 #ifdef __CINT__5 #define int8_t Char_t6 #define int16_t Short_t7 #define int32_t Int_t8 #define int64_t Long64_t9 #define uint8_t UChar_t10 #define uint16_t UShort_t11 #define uint32_t UInt_t12 #define uint64_t ULong64_t13 #else14 4 #include <stdint.h> 15 #endif16 5 17 6 #include <map> … … 20 9 #include <sstream> 21 10 #include <algorithm> 22 23 #ifdef __EXCEPTIONS24 11 #include <stdexcept> 25 #endif26 12 27 13 #ifdef __CINT__ -
trunk/Mars/mcore/huffman.h
r16442 r17128 383 383 }; 384 384 385 bool Encode(std::string &bufout, const uint16_t *bufin, size_t bufinlen)385 inline bool Encode(std::string &bufout, const uint16_t *bufin, size_t bufinlen) 386 386 { 387 387 const Encoder encoder(bufin, bufinlen); … … 399 399 } 400 400 401 in t64_t Decode(const uint8_t *bufin,402 size_t bufinlen,403 std::vector<uint16_t> &pbufout)401 inline int64_t Decode(const uint8_t *bufin, 402 size_t bufinlen, 403 std::vector<uint16_t> &pbufout) 404 404 { 405 405 int64_t i = 0; -
trunk/Mars/mcore/izstream.h
r15266 r17128 2 2 #define MARS_izstream 3 3 4 #include <string.h> 5 4 6 #include <istream> 5 7 #include <streambuf> 6 7 #ifdef __MARS__8 #ifndef ROOT_TObject9 #include <TObject.h> // Needed for ClassDef10 #endif11 #endif12 8 13 9 #ifdef __CINT__ … … 170 166 return seekoff(pos, std::ios::beg); 171 167 } 172 173 #ifdef __MARS__174 ClassDef(izstream, 0) // A C++ wrapper to istream zlib files175 #endif176 168 }; 177 169 -
trunk/Mars/mcore/ofits.h
r16602 r17128 11 11 #include <vector> 12 12 #include <algorithm> 13 14 #ifdef __EXCEPTIONS15 13 #include <stdexcept> 14 15 #ifdef __CINT__ 16 #define off_t size_t 17 #endif 18 19 #ifndef __MARS__ 20 #define gLog cerr 21 #define ___err___ "" 22 #define ___warn___ "" 23 #define ___all___ "" 24 #else 25 #include "MLog.h" 26 #include "MLogManip.h" 27 #define ___err___ err 28 #define ___warn___ warn 29 #define ___all___ all 16 30 #endif 17 31 -
trunk/Mars/mcore/zfits.h
r17035 r17128 6 6 */ 7 7 8 #ifndef MARS_ZFITS 9 #define MARS_ZFITS 10 11 #include <stdexcept> 8 #ifndef MARS_zfits 9 #define MARS_zfits 12 10 13 11 #include "fits.h"
Note:
See TracChangeset
for help on using the changeset viewer.