Index: trunk/psLib/src/collections/psVector.h
===================================================================
--- trunk/psLib/src/collections/psVector.h	(revision 3684)
+++ trunk/psLib/src/collections/psVector.h	(revision 3737)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-08 17:58:57 $
+ *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-21 21:18:23 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -25,4 +25,20 @@
 /// @{
 
+///< Union of psVector data types.
+typedef union {
+    psU8* U8;               ///< Unsigned 8-bit integer data.
+    psU16* U16;             ///< Unsigned 16-bit integer data.
+    psU32* U32;             ///< Unsigned 32-bit integer data.
+    psU64* U64;             ///< Unsigned 64-bit integer data.
+    psS8* S8;               ///< Signed 8-bit integer data.
+    psS16* S16;             ///< Signed 16-bit integer data.
+    psS32* S32;             ///< Signed 32-bit integer data.
+    psS64* S64;             ///< Signed 64-bit integer data.
+    psF32* F32;             ///< Single-precision float data.
+    psF64* F64;             ///< Double-precision float data.
+    psC32* C32;             ///< Single-precision complex data.
+    psC64* C64;             ///< Double-precision complex data.
+} p_psVectorData;
+
 /** An vector to support primitive types.
  *
@@ -35,19 +51,5 @@
     int n;                      ///< Number of elements in use.
     const int nalloc;           ///< Total number of elements available.
-
-    union {
-        psU8* U8;               ///< Unsigned 8-bit integer data.
-        psU16* U16;             ///< Unsigned 16-bit integer data.
-        psU32* U32;             ///< Unsigned 32-bit integer data.
-        psU64* U64;             ///< Unsigned 64-bit integer data.
-        psS8* S8;               ///< Signed 8-bit integer data.
-        psS16* S16;             ///< Signed 16-bit integer data.
-        psS32* S32;             ///< Signed 32-bit integer data.
-        psS64* S64;             ///< Signed 64-bit integer data.
-        psF32* F32;             ///< Single-precision float data.
-        psF64* F64;             ///< Double-precision float data.
-        psC32* C32;             ///< Single-precision complex data.
-        psC64* C64;             ///< Double-precision complex data.
-    } data;                     ///< Union for data types.
+    p_psVectorData data;        ///< Union for data types.
 }
 psVector;
