beecrypt::nio::Buffer Class Reference

#include <Buffer.h>

Inheritance diagram for beecrypt::nio::Buffer:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::nio::Buffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~Buffer ()
size_t capacity () const throw ()
Bufferclear () throw ()
Bufferflip () throw ()
bool hasRemaining () const throw ()
virtual bool isReadOnly () const =0 throw ()
size_t limit () const throw ()
Bufferlimit (size_t newLimit) throw (IllegalArgumentException)
Buffermark () throw ()
size_t position () const throw ()
Bufferposition (size_t newPosition) throw (IllegalArgumentException)
size_t remaining () const throw ()
Bufferreset () throw (InvalidMarkException)
Bufferrewind () throw ()

Protected Member Functions

 Buffer (size_t capacity, size_t limit, bool readonly)

Protected Attributes

size_t _capacity
size_t _limit
size_t _mark
size_t _position
bool _marked
bool _readonly


Constructor & Destructor Documentation

beecrypt::nio::Buffer::Buffer ( size_t  capacity,
size_t  limit,
bool  readonly 
) [protected]

virtual beecrypt::nio::Buffer::~Buffer (  )  [inline, virtual]


Member Function Documentation

size_t beecrypt::nio::Buffer::capacity (  )  const throw ()

Buffer& beecrypt::nio::Buffer::clear (  )  throw ()

Buffer& beecrypt::nio::Buffer::flip (  )  throw ()

bool beecrypt::nio::Buffer::hasRemaining (  )  const throw ()

virtual bool beecrypt::nio::Buffer::isReadOnly (  )  const throw () [pure virtual]

Buffer& beecrypt::nio::Buffer::limit ( size_t  newLimit  )  throw (IllegalArgumentException)

size_t beecrypt::nio::Buffer::limit (  )  const throw ()

Buffer& beecrypt::nio::Buffer::mark (  )  throw ()

Buffer& beecrypt::nio::Buffer::position ( size_t  newPosition  )  throw (IllegalArgumentException)

size_t beecrypt::nio::Buffer::position (  )  const throw ()

size_t beecrypt::nio::Buffer::remaining (  )  const throw ()

Buffer& beecrypt::nio::Buffer::reset (  )  throw (InvalidMarkException)

Buffer& beecrypt::nio::Buffer::rewind (  )  throw ()


Member Data Documentation

size_t beecrypt::nio::Buffer::_limit [protected]

size_t beecrypt::nio::Buffer::_mark [protected]


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

Generated on Fri Jun 19 13:39:43 2009 for BeeCrypt C++ by  doxygen 1.5.8