source/toolbox/stream/MessageStream.C File Reference

#include <string.h>
#include "tbox/MessageStream.h"
#include "tbox/Utilities.h"

Namespaces

namespace  SAMRAI
namespace  SAMRAI::tbox

Defines

#define PACK(m_data, m_size, m_bytes)
#define UNPACK(m_data, m_size, m_bytes)

Define Documentation

#define PACK ( m_data,
m_size,
m_bytes   ) 

Value:

do {                            \
   void *ptr = getPointerAndAdvanceCursor(m_bytes);                     \
   memcpy(ptr, (void *) m_data, m_bytes);                               \
   } while (0)

#define UNPACK ( m_data,
m_size,
m_bytes   ) 

Value:

do {                            \
   void *ptr = getPointerAndAdvanceCursor(m_bytes);                     \
   memcpy((void *) m_data, ptr, m_bytes);                               \
   } while (0)


Generated on Thu Jun 18 11:28:17 2009 for SAMRAI by  doxygen 1.5.1