#ifndef __COMMON_OBJ_H #define __COMMON_OBJ_H #include #include #include "hpcxx_byte.h" class CommonObj { private: int i; int emptyObject ; // 1 if this is a null object public: CommonObj(int n); CommonObj(); int getI(); ~CommonObj(); friend ostream& operator<< (ostream &, CommonObj &); friend void hpcxx_pack(HPCxx_Buffer &buf, CommonObj *t,int count); friend void hpcxx_unpack(HPCxx_Buffer &buf, CommonObj *t,int count); }; #endif // __COMMON_OBJ_H