VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTokenValueFilter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00020 00051 #ifndef __vtkTokenValueFilter_h 00052 #define __vtkTokenValueFilter_h 00053 00054 #include <vtkTableAlgorithm.h> 00055 00056 class vtkUnicodeString; 00057 00058 class VTK_TEXT_ANALYSIS_EXPORT vtkTokenValueFilter : 00059 public vtkTableAlgorithm 00060 { 00061 public: 00062 static vtkTokenValueFilter* New(); 00063 vtkTypeMacro(vtkTokenValueFilter, vtkTableAlgorithm); 00064 void PrintSelf(ostream& os, vtkIndent indent); 00065 00068 void AddStopWordValues(); 00070 void AddValue(const vtkUnicodeString& value); 00072 void ClearValues(); 00073 00074 //BTX 00075 protected: 00076 vtkTokenValueFilter(); 00077 ~vtkTokenValueFilter(); 00078 00079 virtual int RequestData( 00080 vtkInformation* request, 00081 vtkInformationVector** inputVector, 00082 vtkInformationVector* outputVector); 00083 00084 00085 private: 00086 vtkTokenValueFilter(const vtkTokenValueFilter &); // Not implemented. 00087 void operator=(const vtkTokenValueFilter &); // Not implemented. 00088 00089 class Internals; 00090 Internals* const Implementation; 00091 //ETX 00092 }; 00093 00094 #endif // __vtkTokenValueFilter_h 00095