本文整理汇总了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);
}