void Element::readSerializedElement(ObjectInputStream& in) throw (InputStreamException) { XOJ_CHECK_TYPE(Element); in.readObject("Element"); this->x = in.readDouble(); this->y = in.readDouble(); this->color = in.readInt(); in.endObject(); }
void DObject::readObject (ObjectInputStream& in) { oid = int32(in.readInt()); }