Changeset 17290


Ignore:
Timestamp:
10/21/13 13:35:01 (11 years ago)
Author:
tbretz
Message:
Added a Compression constructor which allows CINT to pass the argument as an int:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/FITS.h

    r17249 r17290  
    99 */
    1010
    11 #ifndef _FITS_H_
    12 #define _FITS_H_
     11#ifndef MARS_FITS
     12#define MARS_FITS
    1313
    14 //#include <string>
     14#include <stdint.h>
    1515
    1616namespace FITS
     
    3131        kOrderByRow = 'R'
    3232    };
    33 
    34 
    35 #ifndef __CINT__
    3633
    3734    //Structure helper for tiles headers
     
    8582        }
    8683
    87 #ifdef __MARS__
     84#ifdef __MARS__ // needed for CINT
    8885        Compression(const int &compression)
    8986            : header(0, kOrderByCol, 1), sequence(1)
     
    104101            memcpy(dest+sizeof(BlockHeader), sequence.data(), header.numProcs*sizeof(uint16_t));
    105102        }
    106 
    107 
    108103    };
    109 
    110 
    111 #endif
    112104};
    113105
Note: See TracChangeset for help on using the changeset viewer.