Proud::IDbCacheClientDelegate2::CCallbackArgs Class Reference

Classes

class  CItem
 

Public Types

typedef CFastArray< CItemItems
 

Public Attributes

Items m_items
 
intptr_t m_tag
 

Detailed Description

Arguments when event called back

Member Data Documentation

Items Proud::IDbCacheClientDelegate2::CCallbackArgs::m_items

This is the list containing the data trees related to the request. . For example, the byQuery series requests return several data trees matching the query condition and to receive to process them, this list must be circulated.

// example
{
for ( CLoadResults::iterator it=m_loadResults.begin(); it!=m_loadResults.end(); ++it )
{
CLoadResult& result = *it;
if ( result.m_reason == ErrorType_Ok )
{
// success
}
else
{
// fail
}
}
// ...
}
intptr_t Proud::IDbCacheClientDelegate2::CCallbackArgs::m_tag

User defined value that entered by invoker when it requested. Normally it uses for pointer. If you request with it then will receive same thing