Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psVector Struct Reference
[Vector]

#include <psVector.h>

Collaboration diagram for psVector:

Collaboration graph
[legend]

Detailed Description

An vector to support primitive types.

Struct for maintaining an vector of frequently used primitive types.

Definition at line 34 of file psVector.h.

Data Fields

psMathType type
 Type of data.
long n
 Number of elements in use.
const long 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
void * lock
 Optional lock for thread safety.


Field Documentation

psC32* psVector::C32
 

Single-precision complex data.

Definition at line 50 of file psVector.h.

psC64* psVector::C64
 

Double-precision complex data.

Definition at line 51 of file psVector.h.

union { ... } psVector::data
 

psF32* psVector::F32
 

Single-precision float data.

Definition at line 48 of file psVector.h.

psF64* psVector::F64
 

Double-precision float data.

Definition at line 49 of file psVector.h.

void* psVector::lock
 

Optional lock for thread safety.

Definition at line 53 of file psVector.h.

long psVector::n
 

Number of elements in use.

Definition at line 37 of file psVector.h.

const long psVector::nalloc
 

Total number of elements available.

Definition at line 38 of file psVector.h.

psS16* psVector::S16
 

Signed 16-bit integer data.

Definition at line 45 of file psVector.h.

psS32* psVector::S32
 

Signed 32-bit integer data.

Definition at line 46 of file psVector.h.

psS64* psVector::S64
 

Signed 64-bit integer data.

Definition at line 47 of file psVector.h.

psS8* psVector::S8
 

Signed 8-bit integer data.

Definition at line 44 of file psVector.h.

psMathType psVector::type
 

Type of data.

Definition at line 36 of file psVector.h.

psU16* psVector::U16
 

Unsigned 16-bit integer data.

Definition at line 41 of file psVector.h.

psU32* psVector::U32
 

Unsigned 32-bit integer data.

Definition at line 42 of file psVector.h.

psU64* psVector::U64
 

Unsigned 64-bit integer data.

Definition at line 43 of file psVector.h.

psU8* psVector::U8
 

Unsigned 8-bit integer data.

Definition at line 40 of file psVector.h.


The documentation for this struct was generated from the following file:
Generated on Wed Sep 14 10:43:47 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2