Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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.
Examples:
vtkVersion (examples)

Definition at line 70 of file vtkVersion.h.


Constructor & Destructor Documentation

vtkVersion::vtkVersion   [inline, protected]
 

Definition at line 85 of file vtkVersion.h.

vtkVersion::~vtkVersion   [inline, protected]
 

Definition at line 86 of file vtkVersion.h.

vtkVersion::vtkVersion const vtkVersion &    [inline, protected]
 

Definition at line 87 of file vtkVersion.h.


Member Function Documentation

vtkVersion* vtkVersion::New   [static]
 

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

Reimplemented from vtkObject.

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.

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.

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.

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.

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.

Definition at line 78 of file vtkVersion.h.

int vtkVersion::GetVTKMajorVersion   [inline, static]
 

Definition at line 79 of file vtkVersion.h.

int vtkVersion::GetVTKMinorVersion   [inline, static]
 

Definition at line 80 of file vtkVersion.h.

int vtkVersion::GetVTKBuildVersion   [inline, static]
 

Definition at line 81 of file vtkVersion.h.

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

Definition at line 82 of file vtkVersion.h.

void vtkVersion::operator= const vtkVersion &    [inline, protected]
 

Definition at line 88 of file vtkVersion.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:29 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001