MessageValue Class Reference

#include <bbslsrv.h>

Collaboration diagram for MessageValue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MessageValue ()
virtual ~MessageValue ()
void init_unpack ()
int upkint (int *)
int upkdouble (double *)
int upkvec (int, double *)
int upkstr (char *)
int upkpickle (char *, size_t *)
int pkint (int)
int pkdouble (double)
int pkvec (int, double *)
int pkstr (const char *)
int pkpickle (const char *, size_t)

Private Member Functions

MessageItemlink ()

Private Attributes

int type_
MessageItemfirst_
MessageItemlast_
MessageItemunpack_

Constructor & Destructor Documentation

MessageValue::MessageValue (  ) 

References first_, last_, nil, and unpack_.

MessageValue::~MessageValue (  )  [virtual]

References first_, next(), and MessageItem::next_.

Here is the call graph for this function:


Member Function Documentation

void MessageValue::init_unpack (  ) 

References first_, and unpack_.

Referenced by BBSLocal::return_args().

MessageItem * MessageValue::link (  )  [private]

References first_, last_, MessageItem::next_, and unpack_.

Referenced by pkdouble(), pkint(), pkpickle(), pkstr(), and pkvec().

int MessageValue::pkdouble ( double  x  ) 

References MessageItem::d, DOUBLE, link(), MessageItem::type_, and MessageItem::u.

Referenced by BBSLocal::pkdouble().

Here is the call graph for this function:

int MessageValue::pkint ( int  i  ) 

References MessageItem::i, INT, link(), MessageItem::type_, and MessageItem::u.

Referenced by BBSLocal::pkint(), BBSLocal::pkpickle(), and BBSLocal::pkstr().

Here is the call graph for this function:

int MessageValue::pkpickle ( const char *  bytes,
size_t  n 
)

References link(), PICKLE, MessageItem::s, MessageItem::size_, MessageItem::type_, and MessageItem::u.

Referenced by BBSLocal::pkpickle().

Here is the call graph for this function:

int MessageValue::pkstr ( const char *  str  ) 

References link(), MessageItem::s, STRING, MessageItem::type_, and MessageItem::u.

Referenced by BBSLocal::pkstr().

Here is the call graph for this function:

int MessageValue::pkvec ( int  n,
double *  x 
)

References i, link(), MessageItem::pd, MessageItem::type_, MessageItem::u, and VECTOR.

Referenced by BBSLocal::pkvec().

Here is the call graph for this function:

int MessageValue::upkdouble ( double *  d  ) 
int MessageValue::upkint ( int i  ) 
int MessageValue::upkpickle ( char *  s,
size_t *  n 
)
int MessageValue::upkstr ( char *  s  ) 
int MessageValue::upkvec ( int  n,
double *  d 
)

Member Data Documentation

Referenced by link(), and MessageValue().


The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:31 2011 for NEURON by  doxygen 1.6.3