Logo ROOT  
Reference Guide
RooMappedCategoryCache Class Reference

Definition at line 37 of file RooMappedCategory.cxx.

Public Member Functions

 RooMappedCategoryCache (const RooAbsCache &, RooAbsArg *owner)
 
 RooMappedCategoryCache (RooAbsArg *owner)
 
RooAbsCategory::value_type lookup (Int_t idx) const
 
bool redirectServersHook (const RooAbsCollection &, bool, bool, bool) override
 Interface for server redirect calls. More...
 
void wireCache () override
 
- Public Member Functions inherited from RooAbsCache
 RooAbsCache (const RooAbsCache &, RooAbsArg *owner=nullptr)
 Copy constructor. Takes owner as argument and registers cache with owne. More...
 
 RooAbsCache (RooAbsArg *owner=nullptr)
 Constructor. Takes owner as argument and register cache with owner. More...
 
virtual ~RooAbsCache ()
 Destructor. Unregisters cache with owner. More...
 
virtual void findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for constant term node finding calls. More...
 
virtual TClassIsA () const
 
virtual void operModeHook ()
 Interface for operation mode changes. More...
 
virtual void optimizeCacheMode (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for processing of cache mode optimization calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *)
 Interface for printing of cache guts in tree mode printing. More...
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 Reset the owner, triggering the owner to register this cache in its list of caches. More...
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void wireCache ()
 

Private Member Functions

void initialise ()
 

Private Attributes

std::map< Int_t, RooAbsCategory::value_type_map
 

Additional Inherited Members

- Static Public Member Functions inherited from RooAbsCache
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCache
RooAbsArg_owner
 Pointer to owning RooAbsArg. More...
 
Inheritance diagram for RooMappedCategoryCache:
[legend]

Constructor & Destructor Documentation

◆ RooMappedCategoryCache() [1/2]

RooMappedCategoryCache::RooMappedCategoryCache ( RooAbsArg owner)
inline

Definition at line 39 of file RooMappedCategory.cxx.

◆ RooMappedCategoryCache() [2/2]

RooMappedCategoryCache::RooMappedCategoryCache ( const RooAbsCache ,
RooAbsArg owner 
)
inline

Definition at line 41 of file RooMappedCategory.cxx.

Member Function Documentation

◆ initialise()

void RooMappedCategoryCache::initialise ( )
inlineprivate

Definition at line 60 of file RooMappedCategory.cxx.

◆ lookup()

RooAbsCategory::value_type RooMappedCategoryCache::lookup ( Int_t  idx) const
inline

Definition at line 46 of file RooMappedCategory.cxx.

◆ redirectServersHook()

bool RooMappedCategoryCache::redirectServersHook ( const RooAbsCollection ,
bool  ,
bool  ,
bool   
)
inlineoverridevirtual

Interface for server redirect calls.

Reimplemented from RooAbsCache.

Definition at line 52 of file RooMappedCategory.cxx.

◆ wireCache()

void RooMappedCategoryCache::wireCache ( )
inlineoverridevirtual

Reimplemented from RooAbsCache.

Definition at line 49 of file RooMappedCategory.cxx.

Member Data Documentation

◆ _map

std::map<Int_t, RooAbsCategory::value_type> RooMappedCategoryCache::_map
mutableprivate

Definition at line 56 of file RooMappedCategory.cxx.


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