OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Functions
ossimAppFixedTileCache.cpp File Reference
#include <algorithm>
#include <sstream>
#include <ossim/imaging/ossimAppFixedTileCache.h>
#include <ossim/imaging/ossimFixedTileCache.h>
#include <ossim/base/ossimPreferences.h>
#include <ossim/base/ossimCommon.h>
#include <ossim/base/ossimTrace.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const ossimAppFixedTileCache &rhs)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const ossimAppFixedTileCache rhs 
)

Definition at line 26 of file ossimAppFixedTileCache.cpp.

References ossimNotify(), ossimNotifyLevel_NOTICE, and ossimAppFixedTileCache::theAppCacheMap.

27 {
28  std::map<ossimAppFixedTileCache::ossimAppFixedCacheId, ossimFixedTileCache*>::const_iterator iter = rhs.theAppCacheMap.begin();
29 
30  if(iter == rhs.theAppCacheMap.end())
31  {
33  << "***** APP CACHE EMPTY *****" << endl;
34  }
35  else
36  {
37  while(iter != rhs.theAppCacheMap.end())
38  {
39  out << "Cache id = "<< (*iter).first << " size = " << (*iter).second->getCacheSize() << endl;
40  ++iter;
41  }
42  }
43 
44  return out;
45 }
std::map< ossimAppFixedCacheId, ossimFixedTileCache * > theAppCacheMap
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)