VTK  9.1.0
Public Member Functions | List of all members
vtkIOSSUtilities::Cache Class Reference

Cache. More...

#include <vtkIOSSUtilities.h>

Public Member Functions

 Cache ()
 
 ~Cache ()
 
void ResetAccessCounts ()
 Call this to clear internal count for hits. More...
 
void ClearUnused ()
 Removes all cached entries not accessed since most recent call to ResetAccessCounts. More...
 
void Clear ()
 Clears the cache. More...
 
vtkObjectFind (const Ioss::GroupingEntity *entity, const std::string &cachekey) const
 
void Insert (const Ioss::GroupingEntity *entity, const std::string &cachekey, vtkObject *array)
 

Detailed Description

Cache.

Definition at line 69 of file vtkIOSSUtilities.h.

Constructor & Destructor Documentation

◆ Cache()

vtkIOSSUtilities::Cache::Cache ( )

◆ ~Cache()

vtkIOSSUtilities::Cache::~Cache ( )

Member Function Documentation

◆ ResetAccessCounts()

void vtkIOSSUtilities::Cache::ResetAccessCounts ( )

Call this to clear internal count for hits.

◆ ClearUnused()

void vtkIOSSUtilities::Cache::ClearUnused ( )

Removes all cached entries not accessed since most recent call to ResetAccessCounts.

◆ Clear()

void vtkIOSSUtilities::Cache::Clear ( )

Clears the cache.

◆ Find()

vtkObject * vtkIOSSUtilities::Cache::Find ( const Ioss::GroupingEntity *  entity,
const std::string &  cachekey 
) const

◆ Insert()

void vtkIOSSUtilities::Cache::Insert ( const Ioss::GroupingEntity *  entity,
const std::string &  cachekey,
vtkObject array 
)

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