28 : m_on_complete(on_compl),
50 if (
m_bytes % STXXL_BLOCK_ALIGN != 0)
52 STXXL_BLOCK_ALIGN <<
", = " <<
m_bytes % STXXL_BLOCK_ALIGN);
62 STXXL_ERRMSG(
"WARNING: serious error, reference to the request is lost " <<
63 (after ?
"after" :
"before") <<
" serve()" <<
69 " type=" << ((
m_type ==
READ) ?
"READ" :
"WRITE") <<
82 out <<
"File object address: " <<
static_cast<void*
>(
m_file);
83 out <<
" Buffer address: " <<
static_cast<void*
>(
m_buffer);
85 out <<
" Transfer size: " <<
m_bytes <<
" bytes";
86 out <<
" Type of transfer: " << ((
m_type ==
READ) ?
"READ" :
"WRITE");
Completion handler class (Loki-style).
#define STXXL_BLOCK_ALIGN
Defines interface of file.
void check_nref_failed(bool after)
void check_alignment() const
#define STXXL_BEGIN_NAMESPACE
void add_request_ref()
increment referenced requests
stxxl::internal_size_type size_type
choose_int_types< my_pointer_size >::unsigned_type unsigned_type
std::ostream & print(std::ostream &out) const
Dumps properties of a request.
virtual const char * io_type() const
Identifies the type of I/O implementation.
static const size_t bytes
number of bytes in uint_pair
#define STXXL_VERBOSE3_THIS(x)
stxxl::external_size_type offset_type
unsigned_type get_reference_count() const
Return the number of references to this object (for debugging)
virtual const char * io_type() const =0
Identifies the type of I/O implementation.
#define STXXL_END_NAMESPACE