本文整理汇总了C++中ePipeline::PushString方法的典型用法代码示例。如果您正苦于以下问题:C++ ePipeline::PushString方法的具体用法?C++ ePipeline::PushString怎么用?C++ ePipeline::PushString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ePipeline
的用法示例。
在下文中一共展示了ePipeline::PushString方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CreateDefaultProerty
void CSpace::CreateDefaultProerty(ePipeline& Pipe){
Pipe.PushInt(0);
Pipe.PushString(_T(""));
ePipeline Empty;
Pipe.PushPipe(Empty);
//目前只有这些,其它后续再添加
}
示例2: GetAllChildList
int32 GetAllChildList(int64 ParentID, ePipeline& ChildList,int64 NotIncludeChildID /*=0*/){
assert(ParentID >0);
ChildList.Clear();
char TableName[30];
int64toa(ParentID,TableName);
if(!GetWorldDB().tableExists(TableName)){
return 0;
}
//ChildList.SetID(ParentID);
CppSQLite3Buffer SQL;
SQL.format("select %s,%s,%s,%s from \"%s\"",
ITEM_ID,
ITEM_NAME,
ITEM_TYPE,
ITEM_FINGERPRINT,
TableName
);
CppSQLite3Query Result = GetWorldDB().execQuery(SQL);
while(!Result.eof()){
int64 ChildID = Result.getInt64Field(0);
if (ChildID !=NotIncludeChildID)
{
AnsiString s = Result.getStringField(1,"");
tstring Name = UTF8toWS(s);
Name = GetFileNoPathName(Name);
Name = GetFileName(Name);
int32 Type = Result.getIntField(2);
AnsiString FingerPrint = Result.getStringField(3,"");
//ChildList.PushInt64(ChildID);
ChildList.PushString(Name);
ChildList.PushInt(Type);
ChildList.PushString(FingerPrint);
}
Result.nextRow();
}
return ChildList.Size()/3;
}
示例3: CreateDefaultOwner
void CSpace::CreateDefaultOwner(ePipeline& Pipe)
{
tstring Name = _T("Unkown");
tstring Cryptograhp = _T("");
SPACE_RIGHT Right = NO_RIGHT;
tstring Email = _T("Unkown");
tstring Memo = _T("Unkown");
eBLOB* Validata = new eBLOB();
Pipe.PushString(Name);
Pipe.PushInt(Right);
Pipe.PushString(Cryptograhp);
Pipe.PushString(Email);
Pipe.PushString(Memo);
Pipe.Push_Directly(Validata);
};