VTK
vtkBoostSplitTableField.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostSplitTableField.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 =========================================================================*/
57 #ifndef vtkBoostSplitTableField_h
58 #define vtkBoostSplitTableField_h
59 
60 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
61 #include "vtkTableAlgorithm.h"
62 
63 class vtkStringArray;
64 
65 class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostSplitTableField : public vtkTableAlgorithm
66 {
67 public:
68  static vtkBoostSplitTableField* New();
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
72  void ClearFields();
73  void AddField(const char* field, const char* delimiters);
74 
75 protected:
78 
79  int RequestData(
82  vtkInformationVector*) override;
83 
86 
87 private:
88 
89  class implementation;
90 
92  void operator=(const vtkBoostSplitTableField&) = delete;
93 };
94 
95 #endif
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkBoostSplitTableField
"Splits" one-or-more table fields by duplicating rows containing delimited data.
Definition: vtkBoostSplitTableField.h:65
vtkBoostSplitTableField::Fields
vtkStringArray * Fields
Definition: vtkBoostSplitTableField.h:84
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkX3D::field
Definition: vtkX3D.h:177
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkBoostSplitTableField::Delimiters
vtkStringArray * Delimiters
Definition: vtkBoostSplitTableField.h:85
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:42
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()