Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkVersion Class Reference

Versioning class for vtk. More...

#include <vtkVersion.h>

Inheritance diagram for vtkVersion:

Inheritance graph
[legend]
Collaboration diagram for vtkVersion:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkVersion * New ()
int IsTypeOf (const char *type)
vtkVersion * SafeDownCast (vtkObject *o)
const char * GetVTKVersion ()
int GetVTKMajorVersion ()
int GetVTKMinorVersion ()
int GetVTKBuildVersion ()
const char * GetVTKSourceVersion ()

Protected Methods

 vtkVersion ()
 ~vtkVersion ()
 vtkVersion (const vtkVersion &)
void operator= (const vtkVersion &)

Detailed Description

Versioning class for vtk.

Date:
2000/12/13 16:56:19
Revision:
1.717

Holds methods for defining/determining the current vtk version (major, minor, build).

Warning:
This file will change frequently to update the VTKSourceVersion which timestamps a particular source release.


Member Function Documentation

virtual const char* vtkVersion::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

const char* vtkVersion::GetVTKVersion   [inline, static]
 

Return the version of vtk this object is a part of. A variety of methods are included. GetVTKSourceVersion returns a string with an identifier which timestamps a particular source tree.

virtual int vtkVersion::IsA const char *    type [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 vtkObject.

int vtkVersion::IsTypeOf const char *    type [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 vtkObject.

vtkVersion* vtkVersion::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

vtkVersion* vtkVersion::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:34:21 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002