当前位置: 首页>>代码示例>>C++>>正文


C++ opstream::writeString方法代码示例

本文整理汇总了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);
}
开发者ID:WiLLStenico,项目名称:TestesEOutrasBrincadeiras,代码行数:7,代码来源:tinputli.cpp

示例2: write

void TProgressBar::write( opstream& os )
{
    TView::write( os );
    os.writeString( bar );
    os << backChar << total << progress << dispLen <<
          curPercent << curWidth << numOffset << charValue;
}
开发者ID:idispatch,项目名称:tvision,代码行数:7,代码来源:tprogbar.cpp

示例3: write

void TWindow::write( opstream& os )
{
    TGroup::write( os );
    os << flags << zoomRect << number << palette;
    os << frame;
    os.writeString( title );
}
开发者ID:OS2World,项目名称:DEV-CPLUSPLUS-UTIL-Turbo_Vision_C--,代码行数:7,代码来源:TWindow.cpp

示例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));
}
开发者ID:OS2World,项目名称:DEV-CPLUSPLUS-UTIL-Turbo_Vision_C--,代码行数:9,代码来源:calc.cpp

示例5: write

void tvFormStaticText::write( opstream& os )
{
    tvFormObj::write( os );
    tvFormText::write( os );

    os << (int)0x0100;

    os.writeString( text );
}
开发者ID:jskripsky,项目名称:ancient,代码行数:9,代码来源:TVFRMSTX.CPP

示例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;
}
开发者ID:WiLLStenico,项目名称:TestesEOutrasBrincadeiras,代码行数:20,代码来源:tmnuview.cpp

示例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;
        }
}
开发者ID:LucasvBerkel,项目名称:TweedejaarsProject,代码行数:12,代码来源:TSTATUSL.CPP

示例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 );
}
开发者ID:jskripsky,项目名称:ancient,代码行数:13,代码来源:SPECFLDS.CPP

示例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);
}
开发者ID:OS2World,项目名称:SYSTEM-LOADER-QSINIT,代码行数:15,代码来源:toutline.cpp

示例10: write

void TStaticText::write( opstream& os )
{
    TView::write( os );
    os.writeString( text );
}
开发者ID:hackshields,项目名称:antivirus,代码行数:5,代码来源:TSTATICT.cpp

示例11: write

void DynamicText::write( opstream& os )
{
  TView::write( os );
  os.writeString( text );
  os << (int)rightJustify;
}
开发者ID:Mermouy,项目名称:archlinux-stuff,代码行数:6,代码来源:dyntext.cpp

示例12: writeItem

void TDirCollection::writeItem( void *obj, opstream& os )
{
    TDirEntry *item = (TDirEntry *)obj;
    os.writeString( item->text() );
    os.writeString( item->dir() );
}
开发者ID:gdobra,项目名称:tvision,代码行数:6,代码来源:TDIRCOLL.cpp

示例13: write

void TFileViewer::write(opstream& os)
{
    TScroller::write(os);
    os.writeString(fileName);
}
开发者ID:WiLLStenico,项目名称:TestesEOutrasBrincadeiras,代码行数:5,代码来源:fileview.cpp

示例14: write

void TFileEditor::write( opstream& os )
{
    TEditor::write( os );
    os.writeString( fileName );
    os << selStart << selEnd << curPtr;
}
开发者ID:gdobra,项目名称:tvision,代码行数:6,代码来源:TFILEDTR.cpp

示例15: write

void TButton::write( opstream& os )
{
    TView::write( os );
    os.writeString( title );
    os << command << flags << (int)amDefault;
}
开发者ID:LucasvBerkel,项目名称:TweedejaarsProject,代码行数:6,代码来源:TBUTTON.CPP


注:本文中的opstream::writeString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。