DIY 3.0 data-parallel out-of-core C++ library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Typedefs Groups Pages
Public Types | Public Member Functions | List of all members
diy::Collection Class Reference

## Public Types
typedef void * | Element
typedef std::vector< Element > | Elements
typedef critical_resource< int, recursive_mutex > | CInt
typedef void *(* | Create )()
typedef void(* | Destroy )(void *)
typedef detail::Save | Save
typedef detail::Load | Load

## Public Member Functions
| Collection (Create create, Destroy destroy, ExternalStorage *storage, Save save, Load load)
size_t | size () const
const CInt & | in_memory () const
void | clear ()
int | add (Element e)
void * | release (int i)
void * | find (int i) const
void * | get (int i)
int | available () const
void | load (int i)
void | unload (int i)
Create | creator () const
Destroy | destroyer () const
Load | loader () const
Save | saver () const
void * | create () const
void | destroy (int i)
bool | own () const
ExternalStorage * | storage () const

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

- include/diy/collection.hpp