STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::RC Struct Reference

Detailed Description

Randomized cycling disk allocation scheme functor.

Remarks
model of allocation_strategy concept

Definition at line 130 of file block_alloc.h.

+ Inheritance diagram for stxxl::RC:
+ Collaboration diagram for stxxl::RC:

Public Member Functions

 RC (unsigned_type b, unsigned_type e)
 
 RC ()
 
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 Member Functions

void init ()
 

Private Attributes

std::vector< unsigned_typeperm
 

Additional Inherited Members

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

Constructor & Destructor Documentation

stxxl::RC::RC ( unsigned_type  b,
unsigned_type  e 
)
inline

Definition at line 145 of file block_alloc.h.

stxxl::RC::RC ( )
inline

Definition at line 150 of file block_alloc.h.

Member Function Documentation

void stxxl::RC::init ( )
inlineprivate

Definition at line 135 of file block_alloc.h.

References _STXXL_FORCE_SEQUENTIAL, and stxxl::random_shuffle().

static const char* stxxl::RC::name ( )
inlinestatic

Definition at line 160 of file block_alloc.h.

unsigned_type stxxl::RC::operator() ( unsigned_type  i) const
inline

Definition at line 155 of file block_alloc.h.

Member Data Documentation

std::vector<unsigned_type> stxxl::RC::perm
private

Definition at line 133 of file block_alloc.h.


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