MIStream Class Reference

#include <MStream.h>

List of all members.

Public Member Functions

 MIStream (Communicate *c, int pe, int tag)
 ~MIStream ()
MIStreamget (char &data)
MIStreamget (unsigned char &data)
MIStreamget (short &data)
MIStreamget (unsigned short &data)
MIStreamget (int &data)
MIStreamget (unsigned int &data)
MIStreamget (long &data)
MIStreamget (unsigned long &data)
MIStreamget (float &data)
MIStreamget (double &data)
MIStreamget (size_t len, char *data)
MIStreamget (size_t len, unsigned char *data)
MIStreamget (size_t len, short *data)
MIStreamget (size_t len, unsigned short *data)
MIStreamget (size_t len, int *data)
MIStreamget (size_t len, unsigned int *data)
MIStreamget (size_t len, long *data)
MIStreamget (size_t len, unsigned long *data)
MIStreamget (size_t len, float *data)
MIStreamget (size_t len, double *data)
MIStreamget (size_t len, Vector *data)
MIStreamget (Vector *data)


Detailed Description

Definition at line 16 of file MStream.h.


Constructor & Destructor Documentation

MIStream::MIStream ( Communicate c,
int  pe,
int  tag 
)

Definition at line 27 of file MStream.C.

00028 {
00029   cobj = c;
00030   PE = p;
00031   tag = t;
00032   msg = (StreamMessage *) 0;
00033   early = (StreamMessage *) 0;
00034   currentIndex = 0;
00035   checksum = 0;
00036 }

MIStream::~MIStream (  ) 

Definition at line 38 of file MStream.C.

00039 {
00040   if(msg!=0)
00041     CmiFree(msg);
00042 }


Member Function Documentation

MIStream* MIStream::get ( Vector data  )  [inline]

Definition at line 92 of file MStream.h.

00092                                 {
00093       return Get((char *)data, sizeof(Vector));
00094     }

MIStream* MIStream::get ( size_t  len,
Vector data 
) [inline]

Definition at line 89 of file MStream.h.

00089                                             {
00090       return Get((char *)data, len*sizeof(Vector));
00091     }

MIStream* MIStream::get ( size_t  len,
double *  data 
) [inline]

Definition at line 86 of file MStream.h.

00086                                             { 
00087       return Get((char *)data,len*sizeof(double)); 
00088     }

MIStream* MIStream::get ( size_t  len,
float *  data 
) [inline]

Definition at line 83 of file MStream.h.

00083                                            { 
00084       return Get((char *)data,len*sizeof(float)); 
00085     }

MIStream* MIStream::get ( size_t  len,
unsigned long *  data 
) [inline]

Definition at line 80 of file MStream.h.

00080                                                    { 
00081       return Get((char *)data,len*sizeof(unsigned long)); 
00082     }

MIStream* MIStream::get ( size_t  len,
long *  data 
) [inline]

Definition at line 77 of file MStream.h.

00077                                           { 
00078       return Get((char *)data,len*sizeof(long)); 
00079     }

MIStream* MIStream::get ( size_t  len,
unsigned int *  data 
) [inline]

Definition at line 74 of file MStream.h.

00074                                                   { 
00075       return Get((char *)data,len*sizeof(unsigned int)); 
00076     }

MIStream* MIStream::get ( size_t  len,
int *  data 
) [inline]

Definition at line 71 of file MStream.h.

00071                                          { 
00072       return Get((char *)data,len*sizeof(int)); 
00073     }

MIStream* MIStream::get ( size_t  len,
unsigned short *  data 
) [inline]

Definition at line 68 of file MStream.h.

00068                                                     { 
00069       return Get((char *)data,len*sizeof(unsigned short)); 
00070     }

MIStream* MIStream::get ( size_t  len,
short *  data 
) [inline]

Definition at line 65 of file MStream.h.

00065                                            { 
00066       return Get((char *)data,len*sizeof(short)); 
00067     }

MIStream* MIStream::get ( size_t  len,
unsigned char *  data 
) [inline]

Definition at line 62 of file MStream.h.

00062                                                    { 
00063       return Get((char *)data,len*sizeof(unsigned char)); 
00064     }

MIStream* MIStream::get ( size_t  len,
char *  data 
) [inline]

Definition at line 59 of file MStream.h.

00059                                           { 
00060       return Get(data,len*sizeof(char)); 
00061     }

MIStream* MIStream::get ( double &  data  )  [inline]

Definition at line 56 of file MStream.h.

00056                                 { 
00057       return Get((char *)&data, sizeof(double)); 
00058     }

MIStream* MIStream::get ( float &  data  )  [inline]

Definition at line 53 of file MStream.h.

00053                                { 
00054       return Get((char *)&data, sizeof(float)); 
00055     }

MIStream* MIStream::get ( unsigned long &  data  )  [inline]

Definition at line 50 of file MStream.h.

00050                                        { 
00051       return Get((char *)&data, sizeof(unsigned long)); 
00052     }

MIStream* MIStream::get ( long &  data  )  [inline]

Definition at line 47 of file MStream.h.

00047                               { 
00048       return Get((char *)&data, sizeof(long)); 
00049     }

MIStream* MIStream::get ( unsigned int &  data  )  [inline]

Definition at line 44 of file MStream.h.

00044                                       { 
00045       return Get((char *)&data, sizeof(unsigned int)); 
00046     }

MIStream* MIStream::get ( int &  data  )  [inline]

Definition at line 41 of file MStream.h.

00041                              { 
00042       return Get((char *)&data, sizeof(int)); 
00043     }

MIStream* MIStream::get ( unsigned short &  data  )  [inline]

Definition at line 38 of file MStream.h.

00038                                         { 
00039       return Get((char *)&data, sizeof(unsigned short)); 
00040     }

MIStream* MIStream::get ( short &  data  )  [inline]

Definition at line 35 of file MStream.h.

00035                                { 
00036       return Get((char *)&data, sizeof(short)); 
00037     }

MIStream* MIStream::get ( unsigned char &  data  )  [inline]

Definition at line 32 of file MStream.h.

00032                                        { 
00033       return Get((char *)&data,sizeof(unsigned char)); 
00034     }

MIStream* MIStream::get ( char &  data  )  [inline]

Definition at line 29 of file MStream.h.

Referenced by Molecule::receive_GoMolecule(), Molecule::receive_Molecule(), Parameters::receive_Parameters(), SimParameters::receive_SimParameters(), WorkDistrib::recvComputeMapChanges(), GridforceLiteGrid::unpack(), GridforceFullSubGrid::unpack(), GridforceFullMainGrid::unpack(), GridforceFullBaseGrid::unpack(), MGridforceParamsList::unpack_data(), and GridforceGrid::unpack_grid().

00029                               { 
00030       return Get(&data,sizeof(char)); 
00031     }


The documentation for this class was generated from the following files:
Generated on Sat Sep 23 01:17:20 2017 for NAMD by  doxygen 1.4.7