SVectorIO Class Reference
[Utility Classes and Functions]

#include <support/VectorIO.h>

List of all members.

Public Member Functions

ssize_t AddVector (const iovec *vector, size_t count=1)
ssize_t AddVector (void *base, size_t length)
void * Allocate (size_t length)
ssize_t CountVectors () const
size_t DataLength () const
void MakeEmpty ()
 operator const iovec * () const
ssize_t Read (const void *buffer, size_t avail) const
void SetError (status_t err)
 SVectorIO ()
const iovec * Vectors () const
ssize_t Write (void *buffer, size_t avail) const
virtual ~SVectorIO ()

Classes

struct  alloc_data


Constructor & Destructor Documentation

SVectorIO  ) 
 

~SVectorIO  )  [virtual]
 


Member Function Documentation

ssize_t AddVector const iovec *  vector,
size_t  count = 1
 

ssize_t AddVector void *  base,
size_t  length
 

void * Allocate size_t  length  ) 
 

ssize_t CountVectors  )  const
 

size_t DataLength  )  const
 

void MakeEmpty  ) 
 

operator const iovec *  )  const [inline]
 

ssize_t Read const void *  buffer,
size_t  avail
const
 

void SetError status_t  err  ) 
 

const iovec * Vectors  )  const
 

ssize_t Write void *  buffer,
size_t  avail
const
 


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