#include <vtkStringToTimePoint.h>
vtkStringToTimePoint is a filter for converting a string array into a datetime, time or date array. The input strings must conform to one of the ISO8601 formats defined in vtkTimePointUtility.
The input array specified by SetInputArrayToProcess(...) indicates the array to process. This array must be of type vtkStringArray.
The output array will be of type vtkTypeUInt64Array.
Definition at line 44 of file vtkStringToTimePoint.h.
Public Types | |
typedef vtkDataObjectAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetOutputArrayName (const char *) |
virtual char * | GetOutputArrayName () |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Static Public Member Functions | |
static vtkStringToTimePoint * | New () |
static int | IsTypeOf (const char *type) |
static vtkStringToTimePoint * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkStringToTimePoint () | |
~vtkStringToTimePoint () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
char * | OutputArrayName |
vtkStringToTimePoint::vtkStringToTimePoint | ( | ) | [protected] |
vtkStringToTimePoint::~vtkStringToTimePoint | ( | ) | [protected] |
static vtkStringToTimePoint* vtkStringToTimePoint::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObjectAlgorithm.
virtual const char* vtkStringToTimePoint::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataObjectAlgorithm.
static int vtkStringToTimePoint::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkStringToTimePoint::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
static vtkStringToTimePoint* vtkStringToTimePoint::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataObjectAlgorithm.
void vtkStringToTimePoint::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataObjectAlgorithm.
virtual void vtkStringToTimePoint::SetOutputArrayName | ( | const char * | ) | [virtual] |
The name of the output array. If this is not specified, the name will be the same as the input array name with either " [to datetime]", " [to date]", or " [to time]" appended.
virtual char* vtkStringToTimePoint::GetOutputArrayName | ( | ) | [virtual] |
The name of the output array. If this is not specified, the name will be the same as the input array name with either " [to datetime]", " [to date]", or " [to time]" appended.
virtual int vtkStringToTimePoint::ProcessRequest | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [virtual] |
This is required to capture REQUEST_DATA_OBJECT requests.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkStringToTimePoint::RequestDataObject | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
Creates the same output type as the input type.
Reimplemented from vtkDataObjectAlgorithm.
int vtkStringToTimePoint::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
char* vtkStringToTimePoint::OutputArrayName [protected] |
Definition at line 77 of file vtkStringToTimePoint.h.