My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::DataArray Class Reference

#include <DataArray.h>

Static Public Member Functions

static void pack (RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
 
static void unpack (RegAddrMode addrMode, unsigned int flags, unsigned int *destination, unsigned int *source, unsigned short first, unsigned short nreg)
 
static unsigned short byteLength (RegAddrMode addrMode, unsigned short nreg)
 

Detailed Description

A class to encapsulate data packaging for different address modes.

Member Function Documentation

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

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

....................................................................... Return the length, in bytes of the requested packing operation.

void 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.

....................................................................... Pack data from an array of unsigned longs to arrays of different types using different addressing modes.

void 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.

....................................................................... Unpack data from an array of different types into an array of unsigned longsm using different addressing modes.


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