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