36 ::iovec
toIovec()
const noexcept;
51 using iterator = std::vector<LocalRegion>::iterator;
64 ::iovec
const*
asIovec() const noexcept;
69 void* const*
desc() const noexcept;
104 std::size_t
size() const noexcept
121 static std::vector<::iovec>
iovFromGroup(std::vector<LocalRegion> group)
noexcept;
125 static std::vector<void*>
descFromGroup(std::vector<LocalRegion> group)
noexcept;
150 void*
const*
desc() const noexcept
156 std::size_t
size() const noexcept
164 std::size_t
byteSize() const noexcept;
Represent a span of a LocalRegionGroup.
std::span<::iovec const > _iovec
std::size_t size() const noexcept
void *const * desc() const noexcept
std::span< LocalRegion const > _inner
friend class LocalRegionGroup
std::span< void *const > _descs
LocalRegionGroupSpan(std::span< LocalRegion const >, std::span<::iovec const >, std::span< void *const >)
std::size_t byteSize() const noexcept
Returns the sum of each region size in the span.
::iovec const * asIovec() const noexcept
std::vector< void * > _descs
std::vector< LocalRegion >::const_iterator const_iterator
::iovec const * asIovec() const noexcept
Return the underlying array of iovec structures representing the memory region group.
LocalRegionGroup(std::vector< LocalRegion > inner)
void *const * desc() const noexcept
Return the underlying array of descriptors representing the memory region group.
LocalRegionGroupSpan span(std::size_t beginIndex, std::size_t endIndex) const
Return a span representing a contiguous subset of the LocalRegionGroup.
std::vector< LocalRegion > _inner
std::size_t size() const noexcept
static std::vector< void * > descFromGroup(std::vector< LocalRegion > group) noexcept
Generate descriptor array from a group of LocalRegion.
LocalRegion const & operator[](std::size_t index) const
const_iterator begin() const
std::vector<::iovec > _iovs
const_iterator end() const
LocalRegion & operator[](std::size_t index)
static std::vector<::iovec > iovFromGroup(std::vector< LocalRegion > group) noexcept
Generate iovec array from a group of LocalRegion.
std::vector< LocalRegion >::iterator iterator
Represent a source memory region used for for data transfer.
LocalRegion sub(std::uint64_t offset, std::size_t length) const
Create a sub-region of this LocalRegion.
::iovec toIovec() const noexcept
Convert this LocalRegion to a struct iovec used by libfabric transfer functions.