#ifndef ROOTCOLUMNLESS_H #define ROOTCOLUMNLESS_H // ---------------------------------------------------------------------- // // RootColumnLess.h -- define the comparator class to order columns // withing a block for Root. // // For each to functions correctly we need to have the following order // of columns in a block: // // All the other columns ordered by size of it elements. // This is to insure that all the column are going to be properly // aligned. We also need to verify that the first byte of the // array allocated for the data will give us this alignement. // It means that if there is no index, it should be aligned for // a double and if not we should make sure that the first non index // column is aligned for double. #include "HepTuple/ColumnLess.h" ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ class RootColumnLess : public ColumnLess { public: virtual bool operator()(const Column* x, const Column* y) const; }; ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */ #endif // ROOTCOLUMNLESS_H