VTK  9.2.6
vtkDateToNumeric.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDateToNumeric.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 =========================================================================*/
34 #ifndef vtkDateToNumeric_h
35 #define vtkDateToNumeric_h
36 
37 #include "vtkDataObject.h" // for vtkDataObject::FieldAssociations
38 #include "vtkFiltersGeneralModule.h" // For export macro
40 #include "vtkSmartPointer.h" // for ivar
41 
42 class VTKFILTERSGENERAL_EXPORT vtkDateToNumeric : public vtkPassInputTypeAlgorithm
43 {
44 public:
45  static vtkDateToNumeric* New();
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
54  vtkGetStringMacro(DateFormat);
55  vtkSetStringMacro(DateFormat);
57 
58 protected:
60  ~vtkDateToNumeric() override;
61 
64 
65  char* DateFormat;
66 
67 private:
68  vtkDateToNumeric(const vtkDateToNumeric&) = delete;
69  void operator=(const vtkDateToNumeric&) = delete;
70 };
71 
72 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
Converts string dates to numeric values.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()