VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
IO
Xdmf3
vtkXdmf3ArraySelection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXdmf3ArraySelection.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
=========================================================================*/
28
#ifndef vtkXdmf3ArraySelection_h
29
#define vtkXdmf3ArraySelection_h
30
31
#include "vtkIOXdmf3Module.h"
// For export macro
32
33
#include <map>
//for superclass template
34
#include <string>
//for superclass's content type
35
36
#ifdef _MSC_VER
37
#pragma warning (push) //save
38
#pragma warning (disable: 4251) //needs to have dll-interface to be used by clients of class
39
#endif
40
class
VTKIOXDMF3_EXPORT
vtkXdmf3ArraySelection
41
:
public
std::map<std::string, bool>
42
{
43
public
:
47
void
Merge(
const
vtkXdmf3ArraySelection
& other);
48
52
void
AddArray(
const
char
*
name
,
bool
status=
true
);
53
57
bool
ArrayIsEnabled(
const
char
* name);
58
62
bool
HasArray(
const
char
* name);
63
65
68
void
SetArrayStatus(
const
char
* name,
bool
status);
69
int
GetArraySetting(
const
char
* name);
71
75
const
char
* GetArrayName(
int
index
);
76
80
int
GetNumberOfArrays();
81
};
82
#ifdef _MSC_VER
83
#pragma warning (pop) //restore
84
#endif
85
86
#endif //# vtkXdmf3ArraySelection_h
87
// VTK-HeaderTest-Exclude: vtkXdmf3ArraySelection.h
vtkX3D::name
Definition:
vtkX3D.h:219
vtkX3D::index
Definition:
vtkX3D.h:246
vtkXdmf3ArraySelection
helper to identify requested arrays with
Definition:
vtkXdmf3ArraySelection.h:40
Generated by
1.8.11