Changeset 17297 for trunk/Mars/mcore


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__)))
Location:
trunk/Mars/mcore
Files:
3 edited

Legend:

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

    r17290 r17297  
    3232    };
    3333
     34#ifdef __CINT__
     35    struct TileHeader;
     36    struct BlockHeader;
     37#else
    3438    //Structure helper for tiles headers
    3539    struct TileHeader
     
    6367        {}
    6468    } __attribute__((__packed__));
     69#endif
    6570
    6671    //Helper structure to simplify the initialization and handling of compressed blocks headers
  • trunk/Mars/mcore/Queue.h

    r17292 r17297  
    140140    }
    141141
     142#ifdef __MARS__ // Needed for the compilatio of the dictionary
     143    Queue() : fSize(0), fState(kIdle)
     144    {
     145    }
     146#endif
     147
    142148    ~Queue()
    143149    {
  • 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.