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 
67 
69  void AddStopWordValues();
70  // Description:
71  // Adds a new value to the list of token values that will be discarded.
72  void AddValue(const vtkUnicodeString& value);
73  // Description:
74  // Clears the list of discardable token values.
75  void ClearValues();
77 
78 //BTX
79 protected:
82 
83  virtual int RequestData(
84  vtkInformation* request,
85  vtkInformationVector** inputVector,
86  vtkInformationVector* outputVector);
87 
88 
89 private:
90  vtkTokenValueFilter(const vtkTokenValueFilter &); // Not implemented.
91  void operator=(const vtkTokenValueFilter &); // Not implemented.
92 
93  class Internals;
94  Internals* const Implementation;
95 //ETX
96 };
97 
98 #endif // __vtkTokenValueFilter_h
99