本文整理汇总了C++中opstream::writeString方法的典型用法代码示例。如果您正苦于以下问题:C++ opstream::writeString方法的具体用法?C++ opstream::writeString怎么用?C++ opstream::writeString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类opstream
的用法示例。
在下文中一共展示了opstream::writeString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: write
void TInputLine::write( opstream& os )
{
TView::write( os );
os << maxLen << curPos << firstPos
<< selStart << selEnd;
os.writeString( data);
}
示例2: write
void TProgressBar::write( opstream& os )
{
TView::write( os );
os.writeString( bar );
os << backChar << total << progress << dispLen <<
curPercent << curWidth << numOffset << charValue;
}
示例3: write
void TWindow::write( opstream& os )
{
TGroup::write( os );
os << flags << zoomRect << number << palette;
os << frame;
os.writeString( title );
}
示例4: write
void TCalcDisplay::write( opstream& os )
{
TView::write( os );
os.writeBytes(&status, sizeof(status));
os.writeString(number);
os.writeByte(sign);
os.writeByte(operate);
os.writeBytes(&operand, sizeof(operand));
}
示例5: write
void tvFormStaticText::write( opstream& os )
{
tvFormObj::write( os );
tvFormText::write( os );
os << (int)0x0100;
os.writeString( text );
}
示例6: writeMenu
void TMenuView::writeMenu( opstream& os, TMenu *menu )
{
uchar tok = 0xFF;
for( TMenuItem *item = menu->items; item != 0; item = item->next )
{
os << tok;
os.writeString( item->name );
os << item->command << (int)(item->disabled)
<< item->keyCode << item->helpCtx;
if( item->name != 0 )
{
if( item->command == 0 )
writeMenu( os, item->subMenu );
else
os.writeString( item->param );
}
}
tok = 0;
os << tok;
}
示例7: writeItems
void TStatusLine::writeItems( opstream& os, TStatusItem *ts )
{
int count = 0;
for( TStatusItem *t = ts; t != 0; t = t->next )
count++;
os << count;
for( ; ts != 0; ts = ts->next )
{
os.writeString( ts->text );
os << ts->keyCode << ts->command;
}
}
示例8: write
void THiddenConstField::write( opstream& os )
{
os << stringLength;
os << necessary;
os.writeBytes( &devOptions, sizeof( devOptions ) );
os << infoLevel;
if( infoLevel > 0 )
os << infoIndex;
os.writeString( text );
}
示例9: writeNode
void TOutline::writeNode(TNode *node, opstream &op) {
uchar more = (node->next != 0) ? 1 : 0;
uchar expand = (node->expanded) ? 1 : 0;
op << more;
op << expand;
op << getNumChildren(node);
op.writeString(node->text);
if (node->childList != 0)
writeNode(node->childList, op);
if (node->next != 0)
writeNode(node->next, op);
}
示例10: write
void TStaticText::write( opstream& os )
{
TView::write( os );
os.writeString( text );
}
示例11: write
void DynamicText::write( opstream& os )
{
TView::write( os );
os.writeString( text );
os << (int)rightJustify;
}
示例12: writeItem
void TDirCollection::writeItem( void *obj, opstream& os )
{
TDirEntry *item = (TDirEntry *)obj;
os.writeString( item->text() );
os.writeString( item->dir() );
}
示例13: write
void TFileViewer::write(opstream& os)
{
TScroller::write(os);
os.writeString(fileName);
}
示例14: write
void TFileEditor::write( opstream& os )
{
TEditor::write( os );
os.writeString( fileName );
os << selStart << selEnd << curPtr;
}
示例15: write
void TButton::write( opstream& os )
{
TView::write( os );
os.writeString( title );
os << command << flags << (int)amDefault;
}