1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
tmpString = sr->ReadToEnd();
while(tmpString)
{
vig = new vignette;
this->vig->setnom(Convert::ToString(tmpString));
this->vig->setCordX(Convert::ToInt16(sr->ReadLine()));
this->vig->setCordY(Convert::ToInt16(sr->ReadLine()));
this->vig->setDimHei(Convert::ToInt16(sr->ReadLine()));
this->vig->setDimWid(Convert::ToInt16(sr->ReadLine()));
this->vig->setFramedS(Convert::ToBoolean(sr->ReadLine()));
this->vig->setFtop(Convert::ToInt16(sr->ReadLine()));
this->vig->setFbot(Convert::ToInt16(sr->ReadLine()));
this->vig->setFleft(Convert::ToInt16(sr->ReadLine()));
this->vig->setFrig(Convert::ToInt16(sr->ReadLine()));
this->vig->setUVFlip(Convert::ToBoolean(sr->ReadLine()));
this->vig->setUVMiror(Convert::ToBoolean(sr->ReadLine()));
tmpString = sr->ReadToEnd();
} |