46 #include <Xyce_config.h>
51 #include <N_PDS_Comm.h>
52 #include <N_ERH_ErrorMgr.h>
68 int byteCount = Util::Param::packedByteCount();
71 byteCount +=
sizeof(int);
86 N_PDS_Comm * comm )
const
88 #ifdef Xyce_COUNT_PACKED_BYTES
92 Util::Param::pack( buf, bsize, pos, comm );
96 comm->pack( &dg, 1, buf, bsize, pos );
98 #ifdef Xyce_COUNT_PACKED_BYTES
99 if (pos != predictedPos)
101 DevelFatal(*
this,
"Param::pack") <<
"Predicted pos does not match actual pos";
116 Util::Param::unpack( pB, bsize, pos, comm );
120 comm->unpack( pB, bsize, pos, &dg, 1 );
Pure virtual class to augment a linear system.
virtual void unpack(char *pB, int bsize, int &pos, N_PDS_Comm *comm)
virtual int packedByteCount() const
virtual void pack(char *buf, int bsize, int &pos, N_PDS_Comm *comm) const