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

bytes_seq_impl Class Reference

#include <bytes_seq_private.H>

List of all members.

Public Types

enum  stg_type { grow, full, manual }

Static Public Member Functions

static repallocate_buffer (int len_hint=10, int bytes=0)
static void expand (rep *&p, int len_hint, int min_body_add)

Friends

class SRPC
class SRPC_impl

Classes

struct  header
struct  rep


Member Enumeration Documentation

enum bytes_seq_impl::stg_type
 

Enumeration values:
grow 
full 
manual 

Definition at line 33 of file bytes_seq_private.H.


Member Function Documentation

rep * bytes_seq_impl::allocate_buffer int  len_hint = 10,
int  bytes = 0
[static]
 

Definition at line 41 of file bytes_seq.C.

References bytes_seq_impl::header::bodies, grow, bytes_seq_impl::rep::h, bytes_seq_impl::header::len, bytes_seq_impl::header::limit, bytes_seq::min_size(), NEW_PTRFREE_ARRAY, round_up(), and bytes_seq_impl::header::storage.

Referenced by bytes_seq::append(), bytes_seq::bytes_seq(), expand(), SRPC::recv_bytes_seq(), and SRPC::send_bytes_seq().

void bytes_seq_impl::expand rep *&  p,
int  len_hint,
int  min_body_add
[static]
 

Definition at line 55 of file bytes_seq.C.

References allocate_buffer(), bytes_seq_impl::rep::base, bytes_seq_impl::header::bodies, bytes_seq_impl::rep::h, byte_str::l, bytes_seq_impl::header::len, bytes_seq_impl::header::limit, manual, max(), byte_str::p, and bytes_seq_impl::header::storage.

Referenced by bytes_seq::append(), and SRPC::recv_bytes_seq().


Friends And Related Function Documentation

friend class SRPC [friend]
 

Definition at line 27 of file bytes_seq_private.H.

friend class SRPC_impl [friend]
 

Definition at line 28 of file bytes_seq_private.H.


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