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

VectorType Class Template Reference

#include <vtkVRML.h>

Collaboration diagram for VectorType:

Collaboration graph
[legend]
List of all members.

Public Methods

 VectorType ()
 ~VectorType (void)
void Reserve (int newSize)
void Demand (int newSize)
int Count (void) const
T & Get (int index) const
T & operator[] (int index)
 operator T * () const
VectorType< T > & operator+= (T datum)
void Push (T datum)
T & Pop ()
T & Top ()

Protected Attributes

T * Data
int Allocated
int Used

template<class T>
class VectorType< T >


Constructor & Destructor Documentation

template<class T>
VectorType< T >::VectorType   [inline]
 

Definition at line 70 of file vtkVRML.h.

template<class T>
VectorType< T >::~VectorType void    [inline]
 

Definition at line 76 of file vtkVRML.h.


Member Function Documentation

template<class T>
void VectorType< T >::Reserve int    newSize
 

Definition at line 131 of file vtkVRML.h.

Referenced by Demand(), Push(), and operator+=().

template<class T>
void VectorType< T >::Demand int    newSize [inline]
 

Definition at line 81 of file vtkVRML.h.

Referenced by operator[]().

template<class T>
int VectorType< T >::Count void    const [inline]
 

Definition at line 86 of file vtkVRML.h.

template<class T>
T& VectorType< T >::Get int    index const [inline]
 

Definition at line 90 of file vtkVRML.h.

template<class T>
T& VectorType< T >::operator[] int    index [inline]
 

Definition at line 96 of file vtkVRML.h.

template<class T>
VectorType< T >::operator T *   const [inline]
 

Definition at line 102 of file vtkVRML.h.

template<class T>
VectorType<T>& VectorType< T >::operator+=   datum [inline]
 

Definition at line 106 of file vtkVRML.h.

template<class T>
void VectorType< T >::Push   datum [inline]
 

Definition at line 113 of file vtkVRML.h.

template<class T>
T& VectorType< T >::Pop   [inline]
 

Definition at line 119 of file vtkVRML.h.

template<class T>
T& VectorType< T >::Top   [inline]
 

Definition at line 124 of file vtkVRML.h.


Member Data Documentation

template<class T>
T* VectorType::Data [protected]
 

Definition at line 66 of file vtkVRML.h.

template<class T>
int VectorType::Allocated [protected]
 

Definition at line 67 of file vtkVRML.h.

template<class T>
int VectorType::Used [protected]
 

Definition at line 68 of file vtkVRML.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