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