chunkedseq
container library for large in-memory data sets
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | List of all members
pasl::data::segment< Pointer > Class Template Reference

Segment descriptor. More...

#include <segment.hpp>

Public Types

using pointer_type = Pointer
 

Public Member Functions

 segment ()
 
 segment (pointer_type begin, pointer_type middle, pointer_type end)
 

Public Attributes

pointer_type begin
 
pointer_type middle
 
pointer_type end
 

Detailed Description

template<class Pointer>
class pasl::data::segment< Pointer >

A segment consists of a pointer along with a right-open interval that describes a contiguous region of memory surrounding the pointer.

Invariant: begin <= middle < end[segment]

Definition at line 34 of file segment.hpp.

Member Typedef Documentation

template<class Pointer>
using pasl::data::segment< Pointer >::pointer_type = Pointer

Definition at line 37 of file segment.hpp.

Constructor & Destructor Documentation

template<class Pointer>
pasl::data::segment< Pointer >::segment ( )
inline

Definition at line 46 of file segment.hpp.

template<class Pointer>
pasl::data::segment< Pointer >::segment ( pointer_type  begin,
pointer_type  middle,
pointer_type  end 
)
inline

Definition at line 49 of file segment.hpp.

Member Data Documentation

template<class Pointer>
pointer_type pasl::data::segment< Pointer >::begin

Definition at line 40 of file segment.hpp.

template<class Pointer>
pointer_type pasl::data::segment< Pointer >::end

Definition at line 44 of file segment.hpp.

template<class Pointer>
pointer_type pasl::data::segment< Pointer >::middle

Definition at line 42 of file segment.hpp.


The documentation for this class was generated from the following file: