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


C++ TPckgBuf::operator方法代码示例

本文整理汇总了C++中TPckgBuf::operator方法的典型用法代码示例。如果您正苦于以下问题:C++ TPckgBuf::operator方法的具体用法?C++ TPckgBuf::operator怎么用?C++ TPckgBuf::operator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TPckgBuf的用法示例。


在下文中一共展示了TPckgBuf::operator方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Next

/** Performs the next step in the incremental operation, returning immediately 
and signalling the request status when the step is complete. 

This function is most effectively used when the incremental operation is packaged 
as an active object.

Note that the step parameter is packaged to enable this API to work for asynchronous 
calls in client/server implementations of DBMS.

@param aStep Initially, contains the value returned from any of the initiating 
functions or the last call to perform an operational step. On return, contains 
a value which is less than or equal to the initial value. If it equals 0, 
then the operation has completed successfully and the incremental object should 
be closed.
@param aStatus The request status used to contain completion information for 
the function. On completion, contains the completion status or one of the 
DBMS database error codes. If this indicates an error, then the incremental 
object should be closed and the operation aborted.
@see TPckgBuf */
EXPORT_C void RDbIncremental::Next(TPckgBuf<TInt>& aStep,TRequestStatus& aStatus)
	{
	__ASSERT_ALWAYS(aStep.operator()()>0,Panic(EDbInvalidIncrementalStep));
	iState->Next(aStep,aStatus);
	}
开发者ID:cdaffara,项目名称:symbiandump-os2,代码行数:24,代码来源:UD_INCR.CPP


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