STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::SR Struct Reference

Detailed Description

Simple randomized disk allocation scheme functor.

model of allocation_strategy concept

Definition at line 93 of file block_alloc.h.

+ Inheritance diagram for stxxl::SR:
+ Collaboration diagram for stxxl::SR:

Public Member Functions

 SR (unsigned_type b, unsigned_type e)
 SR ()
unsigned_type operator() (unsigned_type i) const
- Public Member Functions inherited from stxxl::striping
 striping (unsigned_type b, unsigned_type e)
 striping ()
unsigned_type operator() (unsigned_type i) const

Static Public Member Functions

static const char * name ()
- Static Public Member Functions inherited from stxxl::striping
static const char * name ()

Private Types

typedef random_number
< random_uniform_fast

Private Member Functions

void init ()

Private Attributes

unsigned_type offset

Additional Inherited Members

- Public Attributes inherited from stxxl::striping
unsigned_type begin
unsigned_type diff

Member Typedef Documentation

Definition at line 98 of file block_alloc.h.

Constructor & Destructor Documentation

stxxl::SR::SR ( unsigned_type  b,
unsigned_type  e 

Definition at line 107 of file block_alloc.h.

stxxl::SR::SR ( )

Definition at line 112 of file block_alloc.h.

Member Function Documentation

void stxxl::SR::init ( )

Definition at line 100 of file block_alloc.h.

static const char* stxxl::SR::name ( )

Definition at line 122 of file block_alloc.h.

unsigned_type stxxl::SR::operator() ( unsigned_type  i) const

Definition at line 117 of file block_alloc.h.

Member Data Documentation

unsigned_type stxxl::SR::offset

Definition at line 96 of file block_alloc.h.

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