OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions
PagedArray< T, P > Class Template Reference

#include <paged_array.hh>

Public Types

typedef T value_type
 

Public Member Functions

 PagedArray ()
 
T & operator[] (uint64_t i)
 
const T & operator[] (uint64_t i) const
 
void push_back (const T &t)
 
uint64_t size () const
 
bool empty () const
 
void clear ()
 
void ClearRange (uint64_t from, uint64_t to)
 
void Write (std::ofstream &out_stream, bool treat_as_pod=true) const
 
void Read (std::ifstream &in_stream, bool treat_as_pod=true)
 
template<typename DS >
void Serialize (DS &ds)
 
bool operator== (const PagedArray &rhs) const
 
bool operator!= (const PagedArray &rhs) const
 

Detailed Description

template<typename T, uint64_t P>
class ost::db::PagedArray< T, P >

Definition at line 36 of file paged_array.hh.

Member Typedef Documentation

typedef T value_type

Definition at line 40 of file paged_array.hh.

Constructor & Destructor Documentation

PagedArray ( )
inline

Definition at line 42 of file paged_array.hh.

Member Function Documentation

void clear ( )
inline

Definition at line 80 of file paged_array.hh.

void ClearRange ( uint64_t  from,
uint64_t  to 
)
inline

Definition at line 87 of file paged_array.hh.

bool empty ( ) const
inline

Definition at line 75 of file paged_array.hh.

bool operator!= ( const PagedArray< T, P > &  rhs) const
inline

Definition at line 156 of file paged_array.hh.

bool operator== ( const PagedArray< T, P > &  rhs) const
inline

Definition at line 153 of file paged_array.hh.

T& operator[] ( uint64_t  i)
inline

Definition at line 44 of file paged_array.hh.

const T& operator[] ( uint64_t  i) const
inline

Definition at line 49 of file paged_array.hh.

void push_back ( const T &  t)
inline

Definition at line 54 of file paged_array.hh.

void Read ( std::ifstream &  in_stream,
bool  treat_as_pod = true 
)
inline

Definition at line 125 of file paged_array.hh.

void Serialize ( DS &  ds)
inline

Definition at line 148 of file paged_array.hh.

uint64_t size ( ) const
inline

Definition at line 66 of file paged_array.hh.

void Write ( std::ofstream &  out_stream,
bool  treat_as_pod = true 
) const
inline

Definition at line 111 of file paged_array.hh.


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