|
enum | compression_scheme_type {
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
CST_DECL =(RAW,0),
ZERO_SUPPRESS_OTHERWISE_GZIP = 6,
BEST_COMPRESSION = 9,
ZERO_SUPPRESS_SHORT = ZERO_SUPPRESS_WORD_2,
ZERO_SUPPRESS_INT_FLOAT = ZERO_SUPPRESS_WORD_4,
NONE = RAW
} |
|
enum | data_types_type {
FR_VECT_C = 0,
FR_VECT_2S = 1,
FR_VECT_8R = 2,
FR_VECT_4R = 3,
FR_VECT_4S = 4,
FR_VECT_8S = 5,
FR_VECT_8C = 6,
FR_VECT_16C = 7,
FR_VECT_STRING = 8,
FR_VECT_2U = 9,
FR_VECT_4U = 10,
FR_VECT_8U = 11,
FR_VECT_1U = 12
} |
|
typedef
FR_VECT_COMPRESSION_LEVEL_TYPE | compression_level_type |
|
typedef FR_VECT_COMPRESS_TYPE | compress_type |
|
typedef FR_VECT_TYPE_TYPE | type_type |
|
typedef FR_VECT_NDATA_TYPE | nData_type |
|
typedef FR_VECT_NBYTES_TYPE | nBytes_type |
|
typedef FR_VECT_NDIM_TYPE | nDim_type |
|
typedef
LDASTools::AL::SharedArray
< CHAR_U > | data_type |
|
typedef data_type::element_type | data_element_type |
|
typedef data_element_type * | data_pointer_type |
|
typedef const data_element_type * | data_const_pointer_type |
|
typedef std::vector< Dimension > | dimension_container_type |
|
typedef std::unique_ptr< FrVect > | subfrvect_type |
|
typedef ObjectWithChecksum
< Common::FrameSpec::Object,
checksum_type > | self_type |
|
typedef IStream | istream_type |
|
typedef OStream | ostream_type |
|
typedef FrameSpec::version_type | frame_spec_version_type |
|
typedef std::unique_ptr< Object > | unique_object_type |
|
typedef object_type | demote_arg_type |
|
typedef object_type | demote_ret_type |
|
typedef object_type | promote_arg_type |
|
typedef object_type | promote_ret_type |
|
typedef INT_4U | cmn_compression_scheme_type |
|
typedef INT_2U | cmn_compression_level_type |
|
|
| FrVect () |
| Default constructor. More...
|
|
| FrVect (const FrVect &vect) |
| Copy Constructor. More...
|
|
| FrVect (const std::string &name, type_type type, nDim_type nDim, const Dimension *dims, const byte_order_type byte_order=BYTE_ORDER_HOST, const void *data=0, const std::string &unitY="") |
| Constructor. More...
|
|
| FrVect (const std::string &name, compress_type Compress, type_type type, nDim_type nDim, const Dimension *dims, nData_type NData, nBytes_type NBytes, data_type Data, const std::string &unitY="") |
|
| FrVect (const std::string &Name, type_type Type, nDim_type NDim, const Dimension *Dims, const std::string &UnitY) |
| Constructor. More...
|
|
template<class T > |
| FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, const T *data=0, const std::string &unitY="") |
|
template<class T > |
| FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, T *data=0, const std::string &unitY="") |
|
| FrVect (const Previous::FrVect &Source, Common::IStream *Stream) |
| Promotion Constructor. More...
|
|
virtual | ~FrVect () |
| Destructor. More...
|
|
void | MimeData (const std::string &MimeType, void *Data, nBytes_type DataSize) |
| Set the current FrVect with the MIME data. More...
|
|
virtual const char * | ObjectStructName () const |
| The name structure name of this object. More...
|
|
bool | operator== (const FrVect &RHS) const |
| equality operator More...
|
|
bool | operator!= (const FrVect &RHS) const |
| inequality operator More...
|
|
FrVect & | operator+= (const FrVect &RHS) |
| Concatinate with another FrAdcData. More...
|
|
virtual bool | operator== (const Common::FrameSpec::Object &RHS) const |
| equality operator More...
|
|
const std::string & | GetName () const |
| Retrieve the channel name. More...
|
|
compress_type | GetCompress () const |
| Retrieve the compression algorithm number. More...
|
|
type_type | GetType () const |
| Retrieve the vector class. More...
|
|
nData_type | GetNData () const |
| Retrieve the number of sample elements in data series. More...
|
|
nBytes_type | GetNBytes () const |
| Retrieve the number of bytes in the compressed vector. More...
|
|
data_type | GetData () const |
| Retrieve the pointer to the data. More...
|
|
data_type | GetDataRaw () const |
| Retrieve the pointer to the compressed data. More...
|
|
data_type | GetDataRaw () |
| Retrieve the pointer to the compressed data. More...
|
|
data_type | GetDataUncompressed () |
| Retrieve the pointer to the uncompressed data. More...
|
|
const CHAR_U * | GetDataUncompressed (data_type &Expanded) const |
| Retrieve the pointer to the uncompressed data. More...
|
|
nDim_type | GetNDim () const |
| Retrieve the number of dimensions. More...
|
|
const Dimension & | GetDim (nDim_type Offset) const |
| Retrieve the Nth dimension. More...
|
|
Dimension & | GetDim (nDim_type Offset) |
| Retrieve the Nth dimension. More...
|
|
dimension_container_type & | GetDims () |
| Retrieve all the dimension information. More...
|
|
const std::string & | GetUnitY () const |
| Retrieve the description of how to interpret each element. More...
|
|
void | Compress (compression_scheme_type Scheme, int GZipLevel) |
|
void | Uncompress () |
|
virtual void | CompressData (INT_4U Scheme, INT_2U GZipLevel) |
|
virtual
Compression::compression_base_type | Compression () const |
|
virtual Common::FrameSpec::Object * | CloneCompressed (cmn_compression_scheme_type Scheme, cmn_compression_level_type Level) const |
|
void | SetName (const std::string &Name) |
| Establish the channel name. More...
|
|
void | SetUnitY (const std::string &UnitY) |
| Set the description of how to interpret each element. More...
|
|
void | SetNData (nData_type NData) |
|
size_t | GetTypeSize () const |
|
FrVect & | Merge (const FrVect &RHS) |
| Merge with another FrAdcData. More...
|
|
subfrvect_type | SubFrVect (INT_4U Start, INT_4U Stop) const |
| Request a subset of the data. More...
|
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
template<> |
FrVect::type_type | GetDataType () |
|
virtual streamsize_type | Bytes (const StreamBase &Stream) const |
| Return the number of bytes for this object. More...
|
|
virtual self_type * | Create (istream_type &Stream) const |
| Virtual constructor. More...
|
|
virtual void | Write (ostream_type &Stream) const |
| Write object to the stream. More...
|
|
class_type | GetClass () const |
| Retrieve the class identifier. More...
|
|
const Description * | GetDescription () const |
| Retrieve FrSH/FrSE description of the parent object. More...
|
|
ostream_type & | WriteNext (ostream_type &Stream) const |
| Write a next pointer to the parent to the stream. More...
|
|
virtual Object * | Clone () const |
| constructor - virtual copy constructor More...
|
|
template<typename PreviousType , typename CurrentType > |
FrameSpec::ObjectInterface::promote_ret_type | PromoteObject (FrameSpec::ObjectInterface::frame_spec_version_type Target, FrameSpec::ObjectInterface::frame_spec_version_type Source, FrameSpec::ObjectInterface::promote_arg_type Obj, IStream *Stream) |
|
|
static promote_ret_type | Promote (INT_2U Source, promote_arg_type Obj, Common::IStream *Stream) |
| Promote previous version of object to this version. More...
|
|
static const char * | StructName () |
| The name structure name of this object. More...
|
|
static const Common::Description * | StructDescription () |
| The description of structure. More...
|
|
static data_type | DataAlloc (type_type Type, const Dimension *Dims, const nDim_type NDim=1) |
| Allocate a block of memory suitable for storing data. More...
|
|
template<class T > |
static type_type | GetDataType () |
|
static size_t | GetTypeSize (type_type Type) |
| Get size of single data point of particular size. More...
|
|
static const char * | CheckSumDataClass () |
| Data class to be used in class field of FrSE. More...
|
|
static const char * | CheckSumDataComment () |
| Comment to be used in comment field of FrSE. More...
|
|
static object_type | DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream) |
| Down grade an object. More...
|
|
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object. More...
|
|
template<typename PreviousType , typename CurrentType > |
static object_type | PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream) |
| Upgrade an object. More...
|
|
|
virtual void | VerifyObject (Common::Verify &Verifier, Common::IFrameStream &Stream) const |
| Verify the integrity of the object. More...
|
|
virtual demote_ret_type | demote (INT_2U Target, demote_arg_type Obj, Common::IStream *Stream) const |
| Demotes object to previous version of the frame spec. More...
|
|
virtual promote_ret_type | promote (INT_2U Target, promote_arg_type Obj, Common::IStream *Stream) const |
| Promotes object to another version of the frame spec. More...
|
|
virtual
FrameCPP::cmn_streamsize_type | pBytes (const Common::StreamBase &Stream) const |
| Number of bytes needed to write this structure. More...
|
|
virtual FrVect * | pCreate (Common::IStream &Stream) const |
| Stream constructor. More...
|
|
virtual void | pWrite (Common::OStream &Stream) const |
| Write the structure to the stream. More...
|
|
void | expandToBuffer (data_type &Dest, nBytes_type &DestNBytes) const |
|
virtual class_type | getClass () const |
| Retrieve the class identifier. More...
|
|
void | compressToBuffer (const Compression::compress_type_mapping &CompressionMapping, const Compression::compress_type_reverse_mapping &CompressionReverseMapping, const Compression::data_type_mapping &DataTypeMapping, const INT_4U DataType, const INT_8U NData, const CHAR_U *Source, const INT_8U SourceNBytes, const INT_4U SourceCompressionMode, LDASTools::AL::AutoArray< CHAR_U > &Dest, INT_8U &DestNBytes, INT_4U &DestCompressionMode, const INT_4U Level) const |
|
void | compressToBuffer (const Compression::compress_type_mapping &CompressionMapping, const Compression::compress_type_reverse_mapping &CompressionReverseMapping, const Compression::data_type_mapping &DataTypeMapping, const INT_4U DataType, const INT_8U NData, const CHAR_U *Source, const INT_8U SourceNBytes, const INT_4U SourceCompressionMode, LDASTools::AL::SharedArray< CHAR_U > &Dest, INT_8U &DestNBytes, INT_4U &DestCompressionMode, const INT_4U Level) const |
|
void | expandToBuffer (const Compression::compress_type_mapping &CompressionMapping, const Compression::data_type_mapping &DataTypeMapping, const INT_4U DataType, const INT_8U NData, const CHAR_U *Source, const INT_8U SourceNBytes, const INT_4U SourceCompressionMode, const INT_4U SourceByteOrder, LDASTools::AL::AutoArray< CHAR_U > &Dest, INT_8U &DestNBytes) const |
|
void | expandToBuffer (const Compression::compress_type_mapping &CompressionMapping, const Compression::data_type_mapping &DataTypeMapping, const INT_4U DataType, const INT_8U NData, const CHAR_U *Source, const INT_8U SourceNBytes, const INT_4U SourceCompressionMode, const INT_4U SourceByteOrder, LDASTools::AL::SharedArray< CHAR_U > &Dest, INT_8U &DestNBytes) const |
|
Vector Data Structure Definition.