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

chars_seq Class Reference

#include <chars_seq.H>

List of all members.

Public Types

typedef char * chars

Public Member Functions

 chars_seq (int len_hint=0, int bytes=0)
 chars_seq (void **buffer, int bytes) throw (failure)
 chars_seq (const char **seq, int len) throw (failure)
 ~chars_seq ()
 operator chars * () const
chars ith (int i) const
chars operator[] (int i) const
int length () const
void append (const chars s) throw (failure)
void append (const Text &t) throw (failure)
void operator+= (const chars s) throw (failure)
void operator+= (const Text &t) throw (failure)

Static Public Member Functions

static int min_size (int len)

Private Member Functions

 chars_seq (const chars_seq &)
 chars_seq (chars_seq &)
void operator= (chars_seq &)

Private Attributes

chars_seq_impl::rep * p

Friends

class SRPC
class SRPC_impl
class chars_seq_impl

Classes

struct  failure


Member Typedef Documentation

typedef char* chars_seq::chars
 

Definition at line 51 of file chars_seq.H.


Constructor & Destructor Documentation

chars_seq::chars_seq (  int  len_hint = 0,
int  bytes = 0
) 
 

Definition at line 111 of file chars_seq.C.

References chars_seq_impl::allocate_buffer(), and p.

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

Definition at line 121 of file chars_seq.C.

References chars_seq_impl::manual.

chars_seq::chars_seq (  const char **  seq,
int  len
)  throw (failure)
 

Definition at line 129 of file chars_seq.C.

References chars_seq_impl::allocate_buffer().

chars_seq::~chars_seq (   ) 
 

Definition at line 137 of file chars_seq.C.

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

chars_seq::chars_seq (  const chars_seq &   )  [private]
 

chars_seq::chars_seq (  chars_seq &   )  [private]
 


Member Function Documentation

void chars_seq::append (  const Text &  t  )  throw (failure)
 

Definition at line 184 of file chars_seq.C.

void chars_seq::append (  const chars  s  )  throw (failure)
 

Definition at line 159 of file chars_seq.C.

References chars_seq_impl::allocate_buffer(), and chars_seq_impl::expand().

Referenced by C_Catna(), C_CatnT(), ConvertEnvVars(), ConvertVals(), main(), operator+=(), and Test().

chars chars_seq::ith (  int  i  )  const [inline]
 

Definition at line 99 of file chars_seq.H.

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

Referenced by operator[]().

int chars_seq::length (   )  const [inline]
 

Definition at line 105 of file chars_seq.H.

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

Referenced by main(), RunTool(), RunToolServerInit(), S_Catna(), S_Catnf(), and S_CatnT().

int chars_seq::min_size (  int  len  )  [static]
 

Definition at line 143 of file chars_seq.C.

References round_up().

Referenced by chars_seq_impl::allocate_buffer(), and S_Catnf().

chars_seq::operator chars * (   )  const [inline]
 

Definition at line 90 of file chars_seq.H.

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

void chars_seq::operator+= (  const Text &  t  )  throw (failure) [inline]
 

Definition at line 126 of file chars_seq.H.

void chars_seq::operator+= (  const chars  s  )  throw (failure) [inline]
 

Definition at line 123 of file chars_seq.H.

References append().

void chars_seq::operator= (  chars_seq &   )  [private]
 

chars chars_seq::operator[] (  int  i  )  const [inline]
 

Definition at line 102 of file chars_seq.H.

References ith().


Friends And Related Function Documentation

friend class chars_seq_impl [friend]
 

Definition at line 36 of file chars_seq.H.

friend class SRPC [friend]
 

Definition at line 34 of file chars_seq.H.

friend class SRPC_impl [friend]
 

Definition at line 35 of file chars_seq.H.


Member Data Documentation

chars_seq_impl::rep* chars_seq::p [private]
 

Definition at line 126 of file chars_seq.H.

Referenced by chars_seq(), ith(), length(), operator chars *(), and ~chars_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