12 #ifndef THRILL_DATA_CAT_BLOCK_SOURCE_HEADER 13 #define THRILL_DATA_CAT_BLOCK_SOURCE_HEADER 31 template <
typename BlockSource>
74 #endif // !THRILL_DATA_CAT_BLOCK_SOURCE_HEADER CatBlockSource()=default
default constructor
CatBlockSource is a BlockSource which concatenates all Blocks available from a vector of BlockSources...
std::vector< BlockSource > sources_
vector containing block sources
A pinned / pin-counted derivative of a Block.
CatBlockSource & operator=(const CatBlockSource &)=delete
non-copyable: delete assignment operator
CatBlockSource(std::vector< BlockSource > &&sources)
Construct a BlockSource which catenates many other BlockSources.
size_t current_
current source, all sources < current_ are empty.
bool IsValid() const
Return whether the enclosed ByteBlock is valid.