VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkShortArray Class Reference

dynamic, self-adjusting array of short More...

#include <vtkShortArray.h>

Inheritance diagram for vtkShortArray:
Inheritance graph
[legend]
Collaboration diagram for vtkShortArray:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataArrayTemplate
< short > 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkShortArrayNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkShortArrayNew ()
static int IsTypeOf (const char *type)
static vtkShortArraySafeDownCast (vtkObjectBase *o)
static short GetDataTypeValueMin ()
static short GetDataTypeValueMax ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkShortArray ()
 ~vtkShortArray ()

Detailed Description

dynamic, self-adjusting array of short

vtkShortArray is an array of values of type short. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.

Tests:
vtkShortArray (Tests)

Definition at line 42 of file vtkShortArray.h.


Member Typedef Documentation

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt16Array.

Definition at line 49 of file vtkShortArray.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkShortArray* vtkShortArray::New ( ) [static]

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

Reimplemented from vtkObject.

Reimplemented in vtkTypeInt16Array.

static int vtkShortArray::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 vtkDataArray.

Reimplemented in vtkTypeInt16Array.

virtual int vtkShortArray::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 vtkDataArray.

Reimplemented in vtkTypeInt16Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt16Array.

virtual vtkObjectBase* vtkShortArray::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt16Array.

Reimplemented from vtkDataArray.

Reimplemented in vtkTypeInt16Array.

void vtkShortArray::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 vtkDataArray.

Reimplemented in vtkTypeInt16Array.

static short vtkShortArray::GetDataTypeValueMin ( ) [inline, static]

Get the minimum data value in its native type.

Definition at line 60 of file vtkShortArray.h.

static short vtkShortArray::GetDataTypeValueMax ( ) [inline, static]

Get the maximum data value in its native type.

Definition at line 63 of file vtkShortArray.h.


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