Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
stxxl::SR Struct Reference

simple randomized disk allocation scheme functor More...

#include <block_alloc.h>

Inheritance diagram for stxxl::SR:
Inheritance graph
[legend]
Collaboration diagram for stxxl::SR:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SR (int b, int e)
 SR ()
int operator() (int i) const

Static Public Member Functions

static const char * name ()

Private Member Functions

void init ()

Private Attributes

int offset

Detailed Description

simple randomized disk allocation scheme functor

Remarks:
model of allocation_strategy concept

Definition at line 94 of file block_alloc.h.


Constructor & Destructor Documentation

stxxl::SR::SR ( int  b,
int  e 
) [inline]

Definition at line 106 of file block_alloc.h.

References init().

stxxl::SR::SR ( ) [inline]

Definition at line 111 of file block_alloc.h.

References init().


Member Function Documentation

void stxxl::SR::init ( ) [inline, private]

Definition at line 99 of file block_alloc.h.

static const char* stxxl::SR::name ( ) [inline, static]

Reimplemented from stxxl::striping.

Definition at line 121 of file block_alloc.h.

int stxxl::SR::operator() ( int  i) const [inline]

Reimplemented from stxxl::striping.

Definition at line 116 of file block_alloc.h.


Member Data Documentation

int stxxl::SR::offset [private]

Definition at line 97 of file block_alloc.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines