ldas-tools-framecpp 3.0.4
|
#include <FrVectData.hh>
Classes | |
struct | data_definition_type |
Public Member Functions | |
virtual | ~Data () |
virtual Compression::compression_base_type | Compression () const |
virtual void | CompressData (INT_4U Scheme, INT_2U Level) |
const name_type & | GetName () const |
Retrieve the channel name. | |
compress_type | GetCompress () const |
Retrieve the compression algorithm number. | |
type_type | GetType () const |
Retrieve the vector class. | |
size_t | GetTypeSize () const |
nData_type | GetNData () const |
Retrieve the number of sample elements in data series. | |
nBytes_type | GetNBytes () const |
Retrieve the number of bytes in the compressed vector. | |
data_type | GetData () const |
Retrieve the pointer to the data. | |
data_type | GetDataRaw () const |
Retrieve the pointer to the compressed data. | |
data_type | GetDataRaw () |
Retrieve the pointer to the compressed data. | |
data_type | GetDataUncompressed () |
Retrieve the pointer to the uncompressed data. | |
const CHAR_U * | GetDataUncompressed (data_type &Expanded) const |
Retrieve the pointer to the uncompressed data. | |
nDim_type | GetNDim () const |
Retrieve the number of dimensions. | |
const Dimension & | GetDim (nDim_type Offset) const |
Retrieve the Nth dimension. | |
Dimension & | GetDim (nDim_type Offset) |
Retrieve the Nth dimension. | |
dimension_container_type & | GetDims () |
Retrieve all the dimension information. | |
const unit_y_type & | GetUnitY () const |
Retrieve the description of how to interpret each element. | |
void | Compress (compression_scheme_type Scheme, int Level) |
void | Uncompress () |
Expand compressed data. | |
void | MimeData (const std::string &MimeType, void *Data, nBytes_type DataSize) |
Set the current FrVect with the MIME data. | |
void | SetName (const name_type &Name) |
Establish the channel name. | |
void | SetUnitY (const unit_y_type &UnitY) |
Set the description of how to interpret each element. | |
void | SetNData (nData_type NData) |
virtual | ~Data () |
virtual Compression::compression_base_type | Compression () const |
virtual void | CompressData (INT_4U Scheme, INT_2U Level) |
const name_type & | GetName () const |
Retrieve the channel name. | |
compress_type | GetCompress () const |
Retrieve the compression algorithm number. | |
type_type | GetType () const |
Retrieve the vector class. | |
size_t | GetTypeSize () const |
nData_type | GetNData () const |
Retrieve the number of sample elements in data series. | |
nBytes_type | GetNBytes () const |
Retrieve the number of bytes in the compressed vector. | |
data_type | GetData () const |
Retrieve the pointer to the data. | |
data_type | GetDataRaw () const |
Retrieve the pointer to the compressed data. | |
data_type | GetDataRaw () |
Retrieve the pointer to the compressed data. | |
data_type | GetDataUncompressed () |
Retrieve the pointer to the uncompressed data. | |
const CHAR_U * | GetDataUncompressed (data_type &Expanded) const |
Retrieve the pointer to the uncompressed data. | |
nDim_type | GetNDim () const |
Retrieve the number of dimensions. | |
const Dimension & | GetDim (nDim_type Offset) const |
Retrieve the Nth dimension. | |
Dimension & | GetDim (nDim_type Offset) |
Retrieve the Nth dimension. | |
dimension_container_type & | GetDims () |
Retrieve all the dimension information. | |
const unit_y_type & | GetUnitY () const |
Retrieve the description of how to interpret each element. | |
void | Compress (compression_scheme_type Scheme, int Level) |
void | Uncompress () |
Expand compressed data. | |
void | MimeData (const std::string &MimeType, void *Data, nBytes_type DataSize) |
Set the current FrVect with the MIME data. | |
void | SetName (const name_type &Name) |
Establish the channel name. | |
void | SetUnitY (const unit_y_type &UnitY) |
Set the description of how to interpret each element. | |
void | SetNData (nData_type NData) |
virtual FrameSpec::Object * | CloneCompressed (cmn_compression_scheme_type Scheme, cmn_compression_level_type Level) const =0 |
virtual FrameSpec::Object * | CloneCompressed (cmn_compression_scheme_type Scheme, cmn_compression_level_type Level) const =0 |
Static Public Member Functions | |
static data_type | DataAlloc (type_type Type, const Dimension *Dims, const nDim_type NDim=1) |
Allocate a block of memory suitable for storing data. | |
static size_t | GetTypeSize (type_type Type) |
Get size of single data point of particular size. | |
template<class T > | |
static type_type | GetDataType () |
static data_type | DataAlloc (type_type Type, const Dimension *Dims, const nDim_type NDim=1) |
Allocate a block of memory suitable for storing data. | |
static size_t | GetTypeSize (type_type Type) |
Get size of single data point of particular size. | |
template<class T > | |
static type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
template<> | |
Data::type_type | GetDataType () |
static struct_name_type | FrameSpecName () |
static struct_name_type | FrameSpecName () |
static struct_name_type | StructName () |
static struct_name_type | StructName () |
static struct_desc_type | FrameSpecDescription () |
Return the dictionary name of the structure. | |
static struct_desc_type | FrameSpecDescription () |
Return the dictionary name of the structure. | |
static struct_id_type | FrameSpecId () |
Return the dictionary name of the structure. | |
static struct_id_type | FrameSpecId () |
Return the dictionary name of the structure. | |
Static Public Attributes | |
static const constexpr int | DEFAULT_GZIP_LEVEL = 6 |
static struct_name_type | struct_name |
static struct_desc_type | struct_desc |
static struct_id_type | struct_id |
Protected Types | |
enum | { MODE_RAW = BIGENDIAN_RAW , MODE_GZIP = BIGENDIAN_GZIP , MODE_DIFF_GZIP = BIGENDIAN_DIFF_GZIP , MODE_ZERO_SUPPRESS_WORD_2 = BIGENDIAN_ZERO_SUPPRESS_WORD_2 , MODE_ZERO_SUPPRESS_WORD_4 = BIGENDIAN_ZERO_SUPPRESS_WORD_4 , MODE_ZERO_SUPPRESS_WORD_8 = BIGENDIAN_ZERO_SUPPRESS_WORD_8 } |
enum | { MODE_BIGENDIAN = BIGENDIAN_RAW , MODE_LITTLEENDIAN = LITTLEENDIAN_RAW , MODE_HOSTENDIAN = RAW } |
enum | { MODE_RAW = BIGENDIAN_RAW , MODE_GZIP = BIGENDIAN_GZIP , MODE_DIFF_GZIP = BIGENDIAN_DIFF_GZIP , MODE_ZERO_SUPPRESS_WORD_2 = BIGENDIAN_ZERO_SUPPRESS_WORD_2 , MODE_ZERO_SUPPRESS_WORD_4 = BIGENDIAN_ZERO_SUPPRESS_WORD_4 , MODE_ZERO_SUPPRESS_WORD_8 = BIGENDIAN_ZERO_SUPPRESS_WORD_8 } |
enum | { MODE_BIGENDIAN = BIGENDIAN_RAW , MODE_LITTLEENDIAN = LITTLEENDIAN_RAW , MODE_HOSTENDIAN = RAW } |
Protected Member Functions | |
void | data_alloc (nBytes_type NBytes) |
void | data_copy (data_const_pointer_type Data, nBytes_type NBytes) |
void | expandToBuffer (data_type &Dest, nBytes_type &DestNBytes) const |
void | data_alloc (nBytes_type NBytes) |
void | data_copy (data_const_pointer_type Data, nBytes_type NBytes) |
void | expandToBuffer (data_type &Dest, nBytes_type &DestNBytes) 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, Compression::output_type &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, Compression::output_type &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, Compression::output_type &Dest, INT_8U &DestNBytes) const |
Static Protected Member Functions | |
static FrameCPP::Compression::compress_type_mapping & | compress_type_map () |
static FrameCPP::Compression::compress_type_reverse_mapping & | compress_type_reverse_map () |
static FrameCPP::Compression::data_type_mapping & | data_type_map () |
static FrameCPP::Compression::compress_type_mapping & | compress_type_map () |
static FrameCPP::Compression::compress_type_reverse_mapping & | compress_type_reverse_map () |
static FrameCPP::Compression::data_type_mapping & | data_type_map () |
Protected Attributes | |
data_definition_type | m_data |
Static Private Attributes | |
static const constexpr char * | MIME_TYPE_KEYWORD = "MIMETYPE" |
static const constexpr FrameCPP::Version_8::Dimension::nx_type | MIME_TYPE_NX = 0 |
static const constexpr FrameCPP::Version_8::Dimension::dx_type | MIME_TYPE_DX = 0 |
static const constexpr FrameCPP::Version_8::Dimension::startX_type | MIME_TYPE_START_X = 0 |
|
inherited |
|
inherited |
typedef FR_VECT_COMPRESSION_LEVEL_TYPE FrameCPP::Version_8::FrVectImpl::Data::compression_level_type |
typedef data_type::element_type FrameCPP::Version_8::FrVectImpl::Data::data_element_type |
typedef boost::shared_array< CHAR_U > FrameCPP::Version_8::FrVectImpl::Data::data_type |
typedef std::vector< Dimension > FrameCPP::Version_8::FrVectImpl::Data::dimension_container_type |
typedef std::string FrameCPP::Version_8::FrVectImpl::Data::name_type |
|
inherited |
|
inherited |
|
inherited |
typedef std::string FrameCPP::Version_8::FrVectImpl::Data::unit_y_type |
|
protected |
|
protected |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtualinherited |
Implemented in FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >, and FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >.
|
pure virtualinherited |
Implemented in FrameCPP::Version_4::FrVect, FrameCPP::Version_4::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_6::FrVect, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< T >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_8::FrVectImpl::ClassicIO< FrVect >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< T >, FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >, and FrameCPP::Version_9::FrVectImpl::ClassicIO< FrVect >.
|
inline |
|
inline |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinevirtual |
Implements FrameCPP::Common::FrVect.
|
inlinevirtual |
Implements FrameCPP::Common::FrVect.
|
inlinevirtual |
Implements FrameCPP::Common::FrVect.
|
inlinevirtual |
Implements FrameCPP::Common::FrVect.
|
protectedinherited |
|
protectedinherited |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestatic |
Allocate a block of memory suitable for storing data.
[in] | Type | The type of data that is to be stored in the buffer. |
[in] | Dims | Information concearning each dimension of the array of data to be stored in the buffer. |
[in] | NDim | The number of dimensions of data to be stored in the buffer |
|
inlinestatic |
Allocate a block of memory suitable for storing data.
[in] | Type | The type of data that is to be stored in the buffer. |
[in] | Dims | Information concearning each dimension of the array of data to be stored in the buffer. |
[in] | NDim | The number of dimensions of data to be stored in the buffer |
|
protectedinherited |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticinherited |
Return the dictionary name of the structure.
|
inlinestaticinherited |
Return the dictionary name of the structure.
|
inlinestaticinherited |
Return the dictionary name of the structure.
|
inlinestaticinherited |
Return the dictionary name of the structure.
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inline |
Retrieve the compression algorithm number.
|
inline |
Retrieve the compression algorithm number.
|
inline |
Retrieve the pointer to the data.
Return a pointer to the data being managed by the FrVect structure.
|
inline |
Retrieve the pointer to the data.
Return a pointer to the data being managed by the FrVect structure.
|
inline |
Retrieve the pointer to the compressed data.
|
inline |
Retrieve the pointer to the compressed data.
|
inline |
Retrieve the pointer to the compressed data.
|
inline |
Retrieve the pointer to the compressed data.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
Retrieve the pointer to the uncompressed data.
|
inline |
Retrieve the pointer to the uncompressed data.
|
inline |
Retrieve the pointer to the uncompressed data.
[in] | Expanded | Buffer into which the data is expanded. |
|
inline |
Retrieve the pointer to the uncompressed data.
[in] | Expanded | Buffer into which the data is expanded. |
Retrieve the Nth dimension.
[in] | Offset | Index for desired dimension |
Retrieve the Nth dimension.
[in] | Offset | Index for desired dimension |
Retrieve the Nth dimension.
[in] | Offset | Index for desired dimension |
Retrieve the Nth dimension.
[in] | Offset | Index for desired dimension |
|
inline |
Retrieve all the dimension information.
|
inline |
Retrieve all the dimension information.
|
inline |
Retrieve the channel name.
|
inline |
Retrieve the channel name.
|
inline |
Retrieve the number of bytes in the compressed vector.
|
inline |
Retrieve the number of bytes in the compressed vector.
|
inline |
Retrieve the number of sample elements in data series.
|
inline |
Retrieve the number of sample elements in data series.
|
inline |
Retrieve the number of dimensions.
|
inline |
Retrieve the number of dimensions.
|
inline |
Retrieve the vector class.
|
inline |
Retrieve the vector class.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
Retrieve the description of how to interpret each element.
|
inline |
Retrieve the description of how to interpret each element.
|
inline |
Set the current FrVect with the MIME data.
|
inline |
Set the current FrVect with the MIME data.
|
inline |
Establish the channel name.
Assign a new value for the channel name.
[in] | Name | The channel name |
|
inline |
Establish the channel name.
Assign a new value for the channel name.
[in] | Name | The channel name |
|
inline |
|
inline |
|
inline |
Set the description of how to interpret each element.
Assign a new value for the channel name.
[in] | UnitY | New description |
|
inline |
Set the description of how to interpret each element.
Assign a new value for the channel name.
[in] | UnitY | New description |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inline |
Expand compressed data.
In general, uncompressing follows three steps:
1) Gunzip the data. 2) Fix byte-ordering. 3) Integrate.
Depending upon the compression type and byte-ordering differences, not all of these steps are needed.
|
inline |
Expand compressed data.
In general, uncompressing follows three steps:
1) Gunzip the data. 2) Fix byte-ordering. 3) Integrate.
Depending upon the compression type and byte-ordering differences, not all of these steps are needed.
|
staticconstexpr |
|
protected |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticinherited |
|
staticinherited |
|
staticinherited |