source/gjAPI.cpp
int gjAPI::gjInterDataStore::__CheckCache(gjDataItemMap* papOutput)
{
    // retrieve cached data store items
    if(!m_apDataItem.empty())
    {
        if(papOutput)
        {
            FOR_EACH(it, m_apDataItem)
                (*papOutput)[it->first] = it->second;
        }
        return GJ_OK;
    }
    return GJ_NO_DATA_FOUND;
}
// ****************************************************************
/* check for cached data store items */
check for cached data store items
check for cached data store items
int gjAPI::gjInterDataStore::__CheckCache(gjDataItemMap* papOutput)
{
    if(!m_apDataItem.empty())
    {
        if(papOutput)
        {
            FOR_EACH(it, m_apDataItem)
                (*papOutput)[it->first] = it->second;
        }
        return GJ_OK;
    }
    return GJ_NO_DATA_FOUND;
}
int gjAPI :: gjInterDataStore :: __CheckCache ( gjDataItemMap * papOutput ) { if ( ! m_apDataItem . empty ( ) ) { if ( papOutput ) { FOR_EACH ( it , m_apDataItem ) ( * papOutput ) [ it -> first ] = it -> second ; } return GJ_OK ; } return GJ_NO_DATA_FOUND ; }
check for cached data store items
check for cached data store items
// retrieve cached data store items