VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkOverrideInformationCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOverrideInformationCollection.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkOverrideInformationCollection_h
28
#define __vtkOverrideInformationCollection_h
29
30
#include "
vtkCollection.h
"
31
32
#include "
vtkOverrideInformation.h
"
// Needed for inline methods
33
34
class
VTK_COMMON_EXPORT
vtkOverrideInformationCollection
:
public
vtkCollection
35
{
36
public
:
37
vtkTypeMacro(
vtkOverrideInformationCollection
,
vtkCollection
);
38
static
vtkOverrideInformationCollection
*
New
();
39
41
void
AddItem
(
vtkOverrideInformation
*);
42
44
vtkOverrideInformation
*GetNextItem();
45
46
//BTX
48
50
vtkOverrideInformation
*GetNextOverrideInformation(
51
vtkCollectionSimpleIterator
&cookie) {
52
return
static_cast<
vtkOverrideInformation
*
>
(
53
this->
GetNextItemAsObject
(cookie));};
54
//ETX
56
57
protected
:
58
vtkOverrideInformationCollection
() {};
59
~vtkOverrideInformationCollection
() {};
60
61
62
private
:
63
// hide the standard AddItem from the user and the compiler.
64
void
AddItem
(
vtkObject
*o) { this->
vtkCollection::AddItem
(o); };
65
66
private
:
67
vtkOverrideInformationCollection
(
const
vtkOverrideInformationCollection
&);
// Not implemented.
68
void
operator=(
const
vtkOverrideInformationCollection
&);
// Not implemented.
69
};
70
71
inline
void
vtkOverrideInformationCollection::AddItem
(
vtkOverrideInformation
*f)
72
{
73
this->
vtkCollection::AddItem
(f);
74
}
75
76
inline
vtkOverrideInformation
*
vtkOverrideInformationCollection::GetNextItem
()
77
{
78
return
static_cast<
vtkOverrideInformation
*
>
(this->
GetNextItemAsObject
());
79
}
80
81
#endif
Generated on Thu Mar 13 2014 08:09:48 for VTK by
1.8.1.2