Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 ()
bool isReadOnly () const 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 ()
 

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

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::_capacity [protected]
 

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

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

bool beecrypt::nio::Buffer::_marked [protected]
 

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

bool beecrypt::nio::Buffer::_readonly [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 20 10:10:52 2005 for BeeCrypt by  doxygen 1.4.0