VTK
vtkInformationKeyVectorKey.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInformationKeyVectorKey.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 =========================================================================*/
22 #ifndef vtkInformationKeyVectorKey_h
23 #define vtkInformationKeyVectorKey_h
24 
25 #include "vtkCommonCoreModule.h" // For export macro
26 #include "vtkInformationKey.h"
27 
28 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36  vtkInformationKeyVectorKey(const char* name, const char* location);
38 
40 
43  static vtkInformationKeyVectorKey* MakeKey(const char* name, const char* location)
44  {
46  }
48 
50 
61 
65  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
66 
68  virtual void Print(ostream& os, vtkInformation* info);
69 
70 private:
71  vtkInformationKeyVectorKey(const vtkInformationKeyVectorKey&); // Not implemented.
72  void operator=(const vtkInformationKeyVectorKey&); // Not implemented.
73 };
74 
75 #endif
vtkCommonInformationKeyManager.h
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkInformationKeyVectorKey
Key for vector-of-keys values.
Definition: vtkInformationKeyVectorKey.h:31
vtkInformationKeyVectorKey::RemoveItem
void RemoveItem(vtkInformation *info, vtkInformationKey *value)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::length
GLuint GLsizei GLsizei * length
Definition: vtkgl.h:11992
vtkInformationKeyVectorKey::Length
int Length(vtkInformation *info)
vtkInformationKeyVectorKey::vtkInformationKeyVectorKey
vtkInformationKeyVectorKey(const char *name, const char *location)
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkInformationKeyVectorKey::Get
void Get(vtkInformation *info, vtkInformationKey **value)
vtkInformationKeyVectorKey::Get
vtkInformationKey ** Get(vtkInformation *info)
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkCommonCoreModule.h
vtkInformationKeyVectorKey::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformationKeyVectorKey::MakeKey
static vtkInformationKeyVectorKey * MakeKey(const char *name, const char *location)
Definition: vtkInformationKeyVectorKey.h:43
vtkInformationKeyVectorKey::Print
virtual void Print(ostream &os, vtkInformation *info)
vtkInformationKeyVectorKey::~vtkInformationKeyVectorKey
~vtkInformationKeyVectorKey()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkInformationKeyVectorKey::Append
void Append(vtkInformation *info, vtkInformationKey *value)
vtkInformationKeyVectorKey::ShallowCopy
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)
vtkInformationKeyVectorKey::AppendUnique
void AppendUnique(vtkInformation *info, vtkInformationKey *value)
vtkInformationKeyVectorKey::Set
void Set(vtkInformation *info, vtkInformationKey **value, int length)
vtkgl::location
GLint location
Definition: vtkgl.h:12002
vtkInformationKeyVectorKey::Get
vtkInformationKey * Get(vtkInformation *info, int idx)
vtkInformationKey.h
vtkInformationKey
Superclass for vtkInformation keys.
Definition: vtkInformationKey.h:38