VTK
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 "vtkCommonCoreModule.h" // For export macro
31 #include "vtkCollection.h"
32 
33 #include "vtkOverrideInformation.h" // Needed for inline methods
34 
36 {
37 public:
40 
43 
45  vtkOverrideInformation *GetNextItem();
46 
47  //BTX
49 
53  return static_cast<vtkOverrideInformation *>(
54  this->GetNextItemAsObject(cookie));};
55  //ETX
57 
58 protected:
61 
62 
63 private:
64  // hide the standard AddItem from the user and the compiler.
65  void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
66 
67 private:
69  void operator=(const vtkOverrideInformationCollection&); // Not implemented.
70 };
71 
73 {
74  this->vtkCollection::AddItem(f);
75 }
76 
78 {
79  return static_cast<vtkOverrideInformation *>(this->GetNextItemAsObject());
80 }
81 
82 #endif
83 // VTK-HeaderTest-Exclude: vtkOverrideInformationCollection.h
vtkOverrideInformation
Factory object override information.
Definition: vtkOverrideInformation.h:35
vtkOverrideInformationCollection
maintain a list of override information objects
Definition: vtkOverrideInformationCollection.h:36
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkOverrideInformationCollection::vtkOverrideInformationCollection
vtkOverrideInformationCollection()
Definition: vtkOverrideInformationCollection.h:59
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
vtkOverrideInformationCollection::~vtkOverrideInformationCollection
~vtkOverrideInformationCollection()
Definition: vtkOverrideInformationCollection.h:60
vtkCollection.h
vtkOverrideInformationCollection::New
static vtkOverrideInformationCollection * New()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkOverrideInformationCollection::GetNextOverrideInformation
vtkOverrideInformation * GetNextOverrideInformation(vtkCollectionSimpleIterator &cookie)
Definition: vtkOverrideInformationCollection.h:51
vtkCollection::GetNextItemAsObject
vtkObject * GetNextItemAsObject()
Definition: vtkCollection.h:156
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:53
vtkCommonCoreModule.h
vtkOverrideInformationCollection::AddItem
void AddItem(vtkOverrideInformation *)
Definition: vtkOverrideInformationCollection.h:72
vtkOverrideInformationCollection::GetNextItem
vtkOverrideInformation * GetNextItem()
Definition: vtkOverrideInformationCollection.h:77
vtkgl::f
GLclampf f
Definition: vtkgl.h:14181
vtkCollection::AddItem
void AddItem(vtkObject *)
vtkOverrideInformation.h