00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkBoostSplitTableField.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 =========================================================================*/ 00059 #ifndef __vtkBoostSplitTableField_h 00060 #define __vtkBoostSplitTableField_h 00061 00062 #include "vtkTableAlgorithm.h" 00063 00064 class vtkStringArray; 00065 00066 class VTK_INFOVIS_EXPORT vtkBoostSplitTableField : public vtkTableAlgorithm 00067 { 00068 public: 00069 static vtkBoostSplitTableField* New(); 00070 vtkTypeMacro(vtkBoostSplitTableField, vtkTableAlgorithm); 00071 void PrintSelf(ostream& os, vtkIndent indent); 00072 00073 void ClearFields(); 00074 void AddField(const char* field, const char* delimiters); 00075 00076 protected: 00077 vtkBoostSplitTableField(); 00078 ~vtkBoostSplitTableField(); 00079 00080 int RequestData( 00081 vtkInformation*, 00082 vtkInformationVector**, 00083 vtkInformationVector*); 00084 00085 vtkStringArray* Fields; 00086 vtkStringArray* Delimiters; 00087 00088 private: 00089 //BTX 00090 class implementation; 00091 //ETX 00092 vtkBoostSplitTableField(const vtkBoostSplitTableField&); // Not implemented 00093 void operator=(const vtkBoostSplitTableField&); // Not implemented 00094 }; 00095 00096 #endif