vtkStringToTimePoint Class Reference

#include <vtkStringToTimePoint.h>

Inheritance diagram for vtkStringToTimePoint:

Inheritance graph
[legend]
Collaboration diagram for vtkStringToTimePoint:

Collaboration graph
[legend]

List of all members.


Detailed Description

Converts a string array to a integral time array.

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.

Tests:
vtkStringToTimePoint (Tests)

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 vtkStringToTimePointNew ()
static int IsTypeOf (const char *type)
static vtkStringToTimePointSafeDownCast (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

Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 48 of file vtkStringToTimePoint.h.


Constructor & Destructor Documentation

vtkStringToTimePoint::vtkStringToTimePoint (  )  [protected]

vtkStringToTimePoint::~vtkStringToTimePoint (  )  [protected]


Member Function Documentation

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 vtkTypeMacro 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 vtkTypeMacro 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.


Member Data Documentation

Definition at line 77 of file vtkStringToTimePoint.h.


The documentation for this class was generated from the following file:

Generated on Mon Sep 27 18:52:49 2010 for VTK by  doxygen 1.5.6