VTK
vtkTokenValueFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTokenValueFilter.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
20 
51 #ifndef __vtkTokenValueFilter_h
52 #define __vtkTokenValueFilter_h
53 
54 #include <vtkTableAlgorithm.h>
55 
56 class vtkUnicodeString;
57 
59  public vtkTableAlgorithm
60 {
61 public:
62  static vtkTokenValueFilter* New();
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
68  void AddStopWordValues();
70  void AddValue(const vtkUnicodeString& value);
72  void ClearValues();
73 
74 //BTX
75 protected:
78 
79  virtual int RequestData(
80  vtkInformation* request,
81  vtkInformationVector** inputVector,
82  vtkInformationVector* outputVector);
83 
84 
85 private:
86  vtkTokenValueFilter(const vtkTokenValueFilter &); // Not implemented.
87  void operator=(const vtkTokenValueFilter &); // Not implemented.
88 
89  class Internals;
90  Internals* const Implementation;
91 //ETX
92 };
93 
94 #endif // __vtkTokenValueFilter_h
95