framefast::frvect_t Struct Reference

Vector Data. More...

#include <frametype.hh>

Inheritance diagram for framefast::frvect_t:

framefast::generic_t

List of all members.

Public Types

enum  datacopy { fv_nocopy = 0, fv_copy = 1, fv_original = 2 }
 Data copy type. More...

Public Member Functions

 frvect_t ()
 Initialize with zeros.
 frvect_t (const frvect_t &vect)
 Copy contructor.
 ~frvect_t ()
 Destruct vector.
frvect_toperator= (const frvect_t &vect)
 Assignment operator.
bool allocate (int_2u_t type, int size)
 allocate memory
void deallocate ()
 deallocate memory
void clone (const frvect_t &templ)
 clone structure without copying data
void image (const frvect_t &templ)
 clone structure with data reference
int read (int version, const char *p, bool swap=false, datacopy cpy=fv_copy)
 Read from frame; skip FrSh structures if required.
int write (int version, char *p, bool swap=false) const
 Write to frame.
int get (real_4_t *dat, int max) const
 copy real_4 data
int get (real_8_t *dat, int max) const
 copy real_8 data
int get (complex_8_t *dat, int max) const
 copy complex_16 data
int get (complex_16_t *dat, int max) const
 copy complex_16 data
int get (int_2s_t *dat, int max) const
 copy int_2s data
int get (int_4s_t *dat, int max) const
 copy int_4s data
bool fill (int_4u_t pos, int_4u_t num, const frvect_t &src, int_4u_t ofs=0, real_8_t mul=1)
 Fill data into container.
bool fill (int_4u_t pos, int_4u_t num, const char *values, bool swapit=false)
 Fill data into container.
const char * data (int offset=0) const
 get data vector

Public Attributes

char fName [maxName]
 Channel name.
int_2u_t fCompress
 Compression scheme.
int_2u_t fType
 Vector class.
int_8u_t fNData
 Number of data points.
int_8u_t fNBytes
 Number of bytes in the data vector.
int_8u_t fNCompBytes
 Number of bytes in the original (compressed) vector.
int_4u_t fNDim
 N dimensions.
int_8u_t fNx [4]
 X dimensions.
real_8_t fDx [4]
 X slope.
real_8_t fStartX [4]
 X offset.
char fUnitX [4][maxName]
 X units.
char fUnitY [maxName]
 Y units.
ptr_struct fNext
 Next vector.


Detailed Description

Vector Data.

Member Enumeration Documentation

enum framefast::frvect_t::datacopy

Data copy type.

Enumerator:
fv_nocopy  No copy.
fv_copy  Copy.
fv_original  Avoid copy if aligned & no swap & no compression.


The documentation for this struct was generated from the following file:
Generated on Sun Mar 8 19:21:20 2009 for dmt by  doxygen 1.5.4