예제 #1
0
Long ExpLOBoper::pack(void * space)
{
  //  if (lobStorageLocation_)
  //    lobStorageLocation_.pack(space);

  return packClause(space, sizeof(ExpLOBoper));
}
// ExpBitMuxFunction::pack
//
// Packs an ExpBitMuxFunction object
//
// IN     : space - The memory allocator.
// RETURN : the offset withing space of the packed object.
// EFFECTS: Pointers are changed to offsets within space.
// PRECOND: Space is a valid space object.
Long ExpBitMuxFunction::pack(void * space) {
  // Test preconditions.
  //
#if 0
  ex_assert(space, "ExpBitMuxFunction::pack - Invalid space object");
#endif

  // Since ExpBitMuxFunction has no private data, the pack_clause
  // helper of the ex_clause class can be used to pack this
  // class.
  //
  return packClause(space, sizeof(ExpBitMuxFunction));
}