13 #ifndef odc_Partition_H
14 #define odc_Partition_H
20 namespace eckit {
class PathName; }
49 std::string
str()
const;
50 std::ostream&
save(std::ostream&,
size_t poolNumber)
const;
ullong numberOfRowsOnLastBlock() const
void startOfLastBlock(ullong n)
std::vector< Block > & blocks()
ullong write(const eckit::PathName &fileName) const
Partition(const eckit::PathName &, size_t)
Read pool info from partitions info file.
ullong rowsOnLastBlock() const
Partition & operator=(const Partition &)
std::vector< Block > blocks_
friend std::ostream & operator<<(std::ostream &, const Partition &)
std::ostream & save(std::ostream &, size_t poolNumber) const
ullong numberOfRows() const
ullong startOfLastBlock()
void rowsOnLastBlock(ullong n)
unsigned long long ullong