Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
DisableCachingRAII Class Reference

Disable all caches for sub-branches in an expression tree.

This is helpful when an expression with cached sub-branches needs to be integrated numerically.

Definition at line 28 of file RooFitImplHelpers.h.

Public Member Functions

 DisableCachingRAII (bool oldState)
 Inhibit all dirty-state propagation, and assume every node as dirty.
 
 DisableCachingRAII (DisableCachingRAII const &other)=delete
 
 ~DisableCachingRAII ()
 
DisableCachingRAIIoperator= (DisableCachingRAII const &other)=delete
 

Private Attributes

bool _oldState
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/roofit/roofitcore/res/RooFitImplHelpers.h>

Constructor & Destructor Documentation

◆ DisableCachingRAII() [1/2]

DisableCachingRAII::DisableCachingRAII ( bool  oldState)
inline

Inhibit all dirty-state propagation, and assume every node as dirty.

Parameters
[in]oldStateRestore this state when going out of scope.

Definition at line 32 of file RooFitImplHelpers.h.

◆ DisableCachingRAII() [2/2]

DisableCachingRAII::DisableCachingRAII ( DisableCachingRAII const &  other)
delete

◆ ~DisableCachingRAII()

DisableCachingRAII::~DisableCachingRAII ( )
inline

Definition at line 37 of file RooFitImplHelpers.h.

Member Function Documentation

◆ operator=()

DisableCachingRAII & DisableCachingRAII::operator= ( DisableCachingRAII const &  other)
delete

Member Data Documentation

◆ _oldState

bool DisableCachingRAII::_oldState
private

Definition at line 40 of file RooFitImplHelpers.h.

  • roofit/roofitcore/res/RooFitImplHelpers.h