VTK
dox
IO
Xdmf3
vtkXdmf3ArrayKeeper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXdmf3ArrayKeeper.h
5
Language: C++
6
7
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
8
All rights reserved.
9
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10
11
This software is distributed WITHOUT ANY WARRANTY; without even
12
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
PURPOSE. See the above copyright notice for more information.
14
15
=========================================================================*/
29
#ifndef vtkXdmf3ArrayKeeper_h
30
#define vtkXdmf3ArrayKeeper_h
31
32
#include "vtkIOXdmf3Module.h"
// For export macro
33
#include <map>
34
35
class
XdmfArray;
36
37
class
VTKIOXDMF3_EXPORT
vtkXdmf3ArrayKeeper
38
:
public
std::map<XdmfArray *, unsigned int>
39
{
40
public
:
44
vtkXdmf3ArrayKeeper
();
45
49
~
vtkXdmf3ArrayKeeper
();
50
54
void
BumpGeneration();
55
59
void
Insert(XdmfArray *val);
60
65
void
Release(
bool
force);
66
67
private
:
68
unsigned
int
generation;
69
};
70
71
#endif //vtkXdmf3ArrayKeeper_h
72
// VTK-HeaderTest-Exclude: vtkXdmf3ArrayKeeper.h
vtkXdmf3ArrayKeeper
LRU cache of XDMF Arrays.
Definition:
vtkXdmf3ArrayKeeper.h:37
Generated by
1.8.14