CARMA C++
sza::util::DataArray Class Reference

A class to encapsulate data packaging for different address modes. More...

#include <carma/szautil/DataArray.h>

Static Public Member Functions

static unsigned short byteLength (RegAddrMode addrMode, unsigned short nreg)
 Return the length, in bytes of a register un/packing operation. More...
 
static void pack (RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
 Pack a source data array of unsigned longs into a destination array of different types, using different addressing modes. More...
 
static void unpack (RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
 Unpack a source data array of different types into a destination array of unsigned longs, using different addressing modes. More...
 

Detailed Description

A class to encapsulate data packaging for different address modes.

Definition at line 22 of file DataArray.h.

Member Function Documentation

static unsigned short sza::util::DataArray::byteLength ( RegAddrMode  addrMode,
unsigned short  nreg 
)
static

Return the length, in bytes of a register un/packing operation.

static void sza::util::DataArray::pack ( RegAddrMode  addrMode,
unsigned int  flags,
unsigned int *  destination,
unsigned int *  source,
unsigned short  first,
unsigned short  nreg 
)
static

Pack a source data array of unsigned longs into a destination array of different types, using different addressing modes.

static void sza::util::DataArray::unpack ( RegAddrMode  addrMode,
unsigned int  flags,
unsigned int *  destination,
unsigned int *  source,
unsigned short  first,
unsigned short  nreg 
)
static

Unpack a source data array of different types into a destination array of unsigned longs, using different addressing modes.


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