VTK  9.3.20240423
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.
 
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)
 

Detailed Description

Cache.

Definition at line 64 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: