VTK  9.7.20260805
vtkIOSSUtilities::Cache Class Reference

#include <vtkIOSSUtilities.h>

Detailed Description

Cache.

Definition at line 62 of file vtkIOSSUtilities.h.

Public Member Functions

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

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: