Adobe.com
Contents Suites Classes Class Index Member Index

ai::CacheScopeSuppressor< Cache_t > Class Template Reference

CacheScopeSuppressor: Prevents caching in a scope. More...

#include <IAIScopedCache.hpp>

Inheritance diagram for ai::CacheScopeSuppressor< Cache_t >:
ai::CacheScopeManager< Cache_t >

List of all members.

Public Member Functions

 CacheScopeSuppressor ()

Detailed Description

template<typename Cache_t>
class ai::CacheScopeSuppressor< Cache_t >

CacheScopeSuppressor: Prevents caching in a scope.

This invalidates cache which may have been created by CacheScopeManager of the same type and prevents further caching of that type even if new instances of CacheScopeManager are created. CacheScopeSuppressor instances can be safely nested. When the last CacheScopeSuppressor goes out of scope and we have at least one CacheScopeManager still in scope, caching is resumed but the cache is empty and is not restored to the old value before the first CacheScopeSuppressor came in scope.


Constructor & Destructor Documentation

template<typename Cache_t >
ai::CacheScopeSuppressor< Cache_t >::CacheScopeSuppressor (  )  [inline]

The documentation for this class was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks