chars_seq Class Reference

#include <chars_seq.H>

Collaboration diagram for chars_seq:

Collaboration graph
[legend]
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::repp

Friends

class SRPC
class SRPC_impl
class chars_seq_impl

Classes

struct  failure

Detailed Description

Definition at line 33 of file chars_seq.H.


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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 90 of file chars_seq.H.

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

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[]().

Here is the caller graph for this function:

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

Definition at line 102 of file chars_seq.H.

References ith().

Here is the call graph for this function:

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 C_Seq2(), main(), RunTool(), RunToolServerInit(), S_Catna(), S_Catnf(), S_CatnT(), and S_Seq2().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 184 of file chars_seq.C.

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

Definition at line 123 of file chars_seq.H.

References append().

Here is the call graph for this function:

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

Definition at line 126 of file chars_seq.H.

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


Friends And Related Function Documentation

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.

friend class chars_seq_impl [friend]

Definition at line 36 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 Fri May 25 00:51:35 2007 for Vesta by  doxygen 1.5.1