VTK  9.4.20250222
vtkDateToNumeric.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
22#ifndef vtkDateToNumeric_h
23#define vtkDateToNumeric_h
24
25#include "vtkDataObject.h" // for vtkDataObject::FieldAssociations
26#include "vtkFiltersGeneralModule.h" // For export macro
28#include "vtkSmartPointer.h" // for ivar
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKFILTERSGENERAL_EXPORT vtkDateToNumeric : public vtkPassInputTypeAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
43 vtkGetStringMacro(DateFormat);
44 vtkSetStringMacro(DateFormat);
46
47protected:
50
51 int FillInputPortInformation(int port, vtkInformation* info) override;
53
55
56private:
57 vtkDateToNumeric(const vtkDateToNumeric&) = delete;
58 void operator=(const vtkDateToNumeric&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
Converts string dates to numeric values.
static vtkDateToNumeric * New()
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkDateToNumeric() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.