/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 *    File: $Id$
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_ABS_CACHE
#define ROO_ABS_CACHE

#include "Rtypes.h"
#include "Riosfwd.h"

class RooAbsArg ;
class RooAbsCollection ;
class RooArgSet ;
class RooArgList ;
class RooLinkedList ;

class RooAbsCache {

public:

  RooAbsCache(RooAbsArg* owner=0) ;
  RooAbsCache(const RooAbsCache&, RooAbsArg* owner=0 ) ;
  virtual Bool_t redirectServersHook(const RooAbsCollection& /*newServerList*/, Bool_t /*mustReplaceAll*/, Bool_t /*nameChange*/, Bool_t /*isRecursive*/) ;
  virtual void operModeHook() ;
  virtual void optimizeCacheMode(const RooArgSet&, RooArgSet&, RooLinkedList& ) ;
  virtual void findConstantNodes(const RooArgSet&, RooArgSet& , RooLinkedList&) ;
  virtual void printCompactTreeHook(std::ostream&, const char *) ;
  virtual void wireCache() {} ;
  
  virtual ~RooAbsCache() ;
   
protected:

  RooAbsArg* _owner ; // Pointer to owning RooAbsArg

  ClassDef(RooAbsCache,1) // Base class for cache managers 

} ;


#endif 
 RooAbsCache.h:1
 RooAbsCache.h:2
 RooAbsCache.h:3
 RooAbsCache.h:4
 RooAbsCache.h:5
 RooAbsCache.h:6
 RooAbsCache.h:7
 RooAbsCache.h:8
 RooAbsCache.h:9
 RooAbsCache.h:10
 RooAbsCache.h:11
 RooAbsCache.h:12
 RooAbsCache.h:13
 RooAbsCache.h:14
 RooAbsCache.h:15
 RooAbsCache.h:16
 RooAbsCache.h:17
 RooAbsCache.h:18
 RooAbsCache.h:19
 RooAbsCache.h:20
 RooAbsCache.h:21
 RooAbsCache.h:22
 RooAbsCache.h:23
 RooAbsCache.h:24
 RooAbsCache.h:25
 RooAbsCache.h:26
 RooAbsCache.h:27
 RooAbsCache.h:28
 RooAbsCache.h:29
 RooAbsCache.h:30
 RooAbsCache.h:31
 RooAbsCache.h:32
 RooAbsCache.h:33
 RooAbsCache.h:34
 RooAbsCache.h:35
 RooAbsCache.h:36
 RooAbsCache.h:37
 RooAbsCache.h:38
 RooAbsCache.h:39
 RooAbsCache.h:40
 RooAbsCache.h:41
 RooAbsCache.h:42
 RooAbsCache.h:43
 RooAbsCache.h:44
 RooAbsCache.h:45
 RooAbsCache.h:46
 RooAbsCache.h:47
 RooAbsCache.h:48
 RooAbsCache.h:49
 RooAbsCache.h:50
 RooAbsCache.h:51
 RooAbsCache.h:52