Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

bytes_seq Class Reference

#include <bytes_seq.H>

List of all members.

Public Member Functions

 bytes_seq (int len_hint=0, int bytes=0)
 bytes_seq (void **buffer, int bytes) throw (failure)
 ~bytes_seq ()
byte_str ith (int i) const
byte_str operator[] (int i) const
int length () const
void append (const byte_str &b) throw (failure)
void operator+= (const byte_str &b) throw (failure)

Static Public Member Functions

static int min_size (int len)

Private Member Functions

 bytes_seq (const bytes_seq &)
 bytes_seq (bytes_seq &)
void operator= (bytes_seq &)

Private Attributes

bytes_seq_impl::repp

Friends

class SRPC
class SRPC_impl
class bytes_seq_impl

Classes

struct  failure


Constructor & Destructor Documentation

bytes_seq::bytes_seq int  len_hint = 0,
int  bytes = 0
 

Definition at line 99 of file bytes_seq.C.

References bytes_seq_impl::allocate_buffer(), and p.

bytes_seq::bytes_seq void **  buffer,
int  bytes
throw (failure)
 

Definition at line 109 of file bytes_seq.C.

References bytes_seq_impl::manual.

bytes_seq::~bytes_seq  ) 
 

Definition at line 117 of file bytes_seq.C.

References bytes_seq_impl::rep::h, bytes_seq_impl::manual, and p.

bytes_seq::bytes_seq const bytes_seq  )  [private]
 

bytes_seq::bytes_seq bytes_seq  )  [private]
 


Member Function Documentation

void bytes_seq::append const byte_str b  )  throw (failure)
 

Definition at line 140 of file bytes_seq.C.

References bytes_seq_impl::allocate_buffer(), bytes_seq_impl::expand(), byte_str::l, and byte_str::p.

byte_str bytes_seq::ith int  i  )  const [inline]
 

Definition at line 90 of file bytes_seq.H.

References bytes_seq_impl::rep::base, and p.

Referenced by operator[]().

int bytes_seq::length  )  const [inline]
 

Definition at line 96 of file bytes_seq.H.

References bytes_seq_impl::rep::h, and p.

int bytes_seq::min_size int  len  )  [static]
 

Definition at line 123 of file bytes_seq.C.

References round_up().

Referenced by bytes_seq_impl::allocate_buffer().

void bytes_seq::operator+= const byte_str b  )  throw (failure) [inline]
 

Definition at line 111 of file bytes_seq.H.

void bytes_seq::operator= bytes_seq  )  [private]
 

byte_str bytes_seq::operator[] int  i  )  const [inline]
 

Definition at line 93 of file bytes_seq.H.

References ith().


Friends And Related Function Documentation

friend class bytes_seq_impl [friend]
 

Definition at line 44 of file bytes_seq.H.

friend class SRPC [friend]
 

Definition at line 42 of file bytes_seq.H.

friend class SRPC_impl [friend]
 

Definition at line 43 of file bytes_seq.H.


Member Data Documentation

bytes_seq_impl::rep* bytes_seq::p [private]
 

Definition at line 111 of file bytes_seq.H.

Referenced by bytes_seq(), ith(), length(), and ~bytes_seq().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:08 2006 for Vesta by  doxygen 1.4.2