Ignore:
Timestamp:
10/21/13 14:15:50 (11 years ago)
Author:
tbretz
Message:
Added some more tweaks needed by CINT (default constructors, handling of __attribute((__packed__)))
File:
1 edited

Legend:

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

    r17296 r17297  
    2020class zofits : public ofits
    2121{
     22#ifdef __MARS__ // Needed by CINT to access the structures
     23public:
     24#endif
    2225        /// Overriding of the begin() operator to get the smallest item in the list instead of the true begin
    2326        template<class S>
     
    3033        };
    3134
    32 
     35#ifdef __CINT__
     36        struct CatalogEntry;
     37#else
    3338        //catalog types
    3439        struct CatalogEntry
     
    3843            int64_t second;  ///< offset of this column in the tile, from the start of the heap area
    3944        } __attribute__((__packed__));
     45#endif
    4046
    4147        typedef std::vector<CatalogEntry> CatalogRow;
    4248        typedef std::list<CatalogRow>     CatalogType;
    43 
    4449
    4550        /// Parameters required to write a tile to disk
     
    952957                block_head(h)
    953958            {}
     959#ifdef __MARS__ // Needed for the compilation ofthe dictionary
     960            CompressedColumn() { }
     961#endif
    954962            Table::Column col;             ///< the regular column entry
    955963            FITS::Compression block_head;  ///< the compression data associated with that column
Note: See TracChangeset for help on using the changeset viewer.