예제 #1
0
void TCadMultiLine::Streamer::Write(opstream& out) const
{
  WriteBaseObject((TCadObjectBase*) this, out);
  out.writeWord32(GetObject()->points.size());
  TPoints::size_type i=0;
  while (i<GetObject()->points.size()) out << GetObject()->points[i++];
}
예제 #2
0
//
// writes the TEditSearch to the passed opstream
//
void
TEditSearch::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TEdit*)GetObject(), os);

  GetObject()->SearchData.Write(os);
  os << GetObject()->SearchCmd;
}
예제 #3
0
//
// writes the TEditFile to the passed opstream
//
void
TEditFile::Streamer::Write(opstream& os) const
{
  TEditFile* o = GetObject();
  WriteBaseObject((TEditSearch*)o, os);
  _USES_CONVERSION;
  os.fwriteString(o->FileName ? _W2A(o->FileName) : "");
}
예제 #4
0
void TCadGroup::Streamer::Write(opstream& out) const
{
  WriteBaseObject((TCadObjectBase*) this, out);

  out.writeWord32(GetObject()->objects.size());
  TCadObjectBasePtrVector::iterator i,e;
  for(i=GetObject()->objects.begin(), e=GetObject()->objects.end(); i!=e; i++)
   out << *(*i);
}
예제 #5
0
void
TUrlLink::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TStatic*)GetObject(), os);

  os << GetObject()->LinkColor;
  os << GetObject()->VisitedColor;
  os << GetObject()->HoverColor;
  os << GetObject()->bUnderline;
  os << GetObject()->bVisited;
  os << GetObject()->bOverControl;
}
예제 #6
0
//
/// writes the TCheckBox to the passed opstream
//
void
TCheckBox::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TButton*)GetObject(), os);
  os << GetObject()->Group;
}
예제 #7
0
//
// writes the TGroupBox to the passed opstream
//
void
TGroupBox::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TControl*)GetObject(), os);
  os << GetObject()->NotifyParent;
}
예제 #8
0
void
TPXPictureValidator::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TValidator*)GetObject(), os);
  os << GetObject()->Pic;
}
예제 #9
0
//
/// Writes the TMDIClient to the passed opstream
//
void
TMDIClient::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TWindow*)GetObject(), os);
  os << GetObject()->ClientAttr->idFirstChild;
}
예제 #10
0
void TCadLine::Streamer::Write(opstream& out) const
{
  WriteBaseObject((TCadObjectBase*) this, out);
  out << GetObject()->p1 << GetObject()->p2;
}
예제 #11
0
void TCadRect::Streamer::Write(opstream& out) const
{
  WriteBaseObject((TCadObjectBase*) this, out);
  out << GetObject()->r;
}
예제 #12
0
void TCadLabel::Streamer::Write(opstream& out) const
{
  WriteBaseObject((TCadObjectBase*) this, out);
}
예제 #13
0
void
TVSlider::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TSlider*)GetObject(), os);
}
예제 #14
0
void
TButton::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TControl*)GetObject(), os);
  os << GetObject()->IsDefPB;
}
예제 #15
0
//
/// Writes the TStatic to the passed opstream
//
void
TStatic::Streamer::Write(opstream& os) const
{
  WriteBaseObject((TControl*)GetObject(), os);
  os << GetObject()->TextLimit;
}