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

chars_seq_impl Class Reference

#include <chars_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 chars_seq_impl::stg_type
 

Enumeration values:
grow 
full 
manual 

Definition at line 33 of file chars_seq_private.H.


Member Function Documentation

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

Definition at line 45 of file chars_seq.C.

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

Referenced by chars_seq::append(), chars_seq::chars_seq(), expand(), SRPC::recv_chars_seq(), and SRPC::send_chars_seq().

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

Definition at line 59 of file chars_seq.C.

References allocate_buffer(), chars_seq_impl::rep::base, chars_seq_impl::header::bodies, chars_seq_impl::rep::h, chars_seq_impl::header::len, chars_seq_impl::header::limit, manual, max(), and chars_seq_impl::header::storage.

Referenced by chars_seq::append(), and SRPC::recv_chars_seq().


Friends And Related Function Documentation

friend class SRPC [friend]
 

Definition at line 27 of file chars_seq_private.H.

friend class SRPC_impl [friend]
 

Definition at line 28 of file chars_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