예제 #1
0
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();
}
예제 #2
0
파일: DObject.cpp 프로젝트: 691739159/narya
void DObject::readObject (ObjectInputStream& in)
{
    oid = int32(in.readInt());
}