ldas-tools-framecpp 2.7.0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
FrameCPP::Version_4::FrVect Class Reference

#include <FrVect.hh>

Inheritance diagram for FrameCPP::Version_4::FrVect:
Inheritance graph
[legend]
Collaboration diagram for FrameCPP::Version_4::FrVect:
Collaboration graph
[legend]

Classes

struct  data_container_type
 

Public Types

typedef INT_2U compress_type
 
typedef INT_2U type_type
 
typedef INT_4U nData_type
 
typedef INT_4U nBytes_type
 
typedef boost::shared_array< CHAR_U > data_type
 
typedef INT_4U nDim_type
 
typedef std::unique_ptr< FrVectsubfrvect_type
 
typedef INT_2U compress_type
 
typedef INT_2U type_type
 
typedef INT_4U nData_type
 
typedef INT_4U nBytes_type
 
typedef boost::shared_array< CHAR_U > data_type
 
typedef INT_4U nDim_type
 
typedef std::unique_ptr< FrVectsubfrvect_type
 
typedef FrameSpec::version_type frame_spec_version_type
 
typedef FrameSpec::version_type frame_spec_version_type
 
typedef boost::shared_ptr< Objectobject_type
 
typedef boost::shared_ptr< Objectobject_type
 
typedef std::unique_ptr< Objectunique_object_type
 
typedef std::unique_ptr< Objectunique_object_type
 
typedef object_type demote_arg_type
 
typedef object_type demote_arg_type
 
typedef object_type demote_ret_type
 
typedef object_type demote_ret_type
 
typedef object_type promote_arg_type
 
typedef object_type promote_arg_type
 
typedef object_type promote_ret_type
 
typedef object_type promote_ret_type
 
typedef INT_4U cmn_compression_scheme_type
 
typedef INT_4U cmn_compression_scheme_type
 
typedef INT_2U cmn_compression_level_type
 
typedef INT_2U cmn_compression_level_type
 
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 , 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
}
 
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 , 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
}
 
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 ) , ZERO_SUPPRESS_SHORT_GZIP_OTHER = 6 , 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_SHORT_GZIP_OTHER = 6
}
 
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 ) , ZERO_SUPPRESS_SHORT_GZIP_OTHER = 6 , 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_SHORT_GZIP_OTHER = 6
}
 

Public Member Functions

 FrVect ()
 Default constructor.
 
 FrVect (const FrVect &vect)
 Copy Constructor.
 
 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.
 
 FrVect (const std::string &name, type_type type, nDim_type nDim, const Dimension *dims, const byte_order_type byte_order=BYTE_ORDER_HOST, void *data=0, const std::string &unitY="", bool allocate=true, bool owns=true)
 Constructor.
 
 FrVect (const std::string &name, compress_type Compress, type_type type, nDim_type nDim, const Dimension *dims, nData_type NData, nBytes_type NBytes, void *data, const std::string &unitY="", bool allocate=true, bool owns=true)
 
 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="")
 
template<class T >
 FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, const T *data=0, const std::string &unitY="")
 exc: std::bad_alloc - Memory allocation failed.
 
template<class T >
 FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, T *data=0, const std::string &unitY="", bool allocate=true, bool owns=true)
 exc: std::bad_alloc - Memory allocation failed.
 
 FrVect (const Previous::FrVect &Source, istream_type *Stream)
 
virtual ~FrVect ()
 
virtual const char * ObjectStructName () const
 Retrieve the class name of the object.
 
bool operator== (const FrVect &RHS) const
 
bool operator!= (const FrVect &RHS) const
 
FrVectoperator+= (const FrVect &RHS)
 Concatination operator.
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 comparison operator
 
FrameCPP::cmn_streamsize_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
const std::string & GetName () const
 
compress_type GetCompress () const
 
type_type GetType () const
 
nData_type GetNData () const
 
nBytes_type GetNBytes () const
 
data_type GetData (bool Decompress=true) const
 
data_type GetData (bool Decompress=true)
 
data_type GetDataRaw () const
 
data_type GetDataRaw ()
 
nDim_type GetNDim () const
 
const DimensionGetDim (nDim_type Offset) const
 
DimensionGetDim (nDim_type Offset)
 
const std::string GetUnitY () const
 
void Compress (compression_scheme_type Scheme, int GZipLevel)
 
void Uncompress ()
 Expand compressed data.
 
virtual void CompressData (INT_4U Scheme, INT_2U GZipLevel)
 
virtual Compression::compression_base_type Compression () const
 
virtual Common::FrameSpec::ObjectCloneCompressed (cmn_compression_scheme_type Scheme, cmn_compression_level_type Level) const
 
void SetName (const std::string &Name)
 Establish the channel name.
 
void SetNData (INT_4U NData)
 
size_t GetTypeSize () const
 
FrVectMerge (const FrVect &RHS)
 Merge with another FrAdcData.
 
subfrvect_type SubFrVect (INT_4U Start, INT_4U Stop) const
 
virtual FrVectCreate (istream_type &Stream) const
 constructor - virtual
 
virtual void VerifyObject (Common::Verify &Verifier, Common::IFrameStream &Stream) const
 Verify the integrity of the object.
 
virtual void Write (ostream_type &Stream) const
 Write the structure to the stream.
 
 FrVect ()
 Default constructor.
 
 FrVect (const FrVect &vect)
 Copy Constructor.
 
 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.
 
 FrVect (const std::string &name, type_type type, nDim_type nDim, const Dimension *dims, const byte_order_type byte_order=BYTE_ORDER_HOST, void *data=0, const std::string &unitY="", bool allocate=true, bool owns=true)
 Constructor.
 
 FrVect (const std::string &name, compress_type Compress, type_type type, nDim_type nDim, const Dimension *dims, nData_type NData, nBytes_type NBytes, void *data, const std::string &unitY="", bool allocate=true, bool owns=true)
 
 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="")
 
template<class T >
 FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, const T *data=0, const std::string &unitY="")
 exc: std::bad_alloc - Memory allocation failed.
 
template<class T >
 FrVect (const std::string &name, nDim_type nDim=1, const Dimension *dims=0, T *data=0, const std::string &unitY="", bool allocate=true, bool owns=true)
 exc: std::bad_alloc - Memory allocation failed.
 
 FrVect (const Previous::FrVect &Source, istream_type *Stream)
 
virtual ~FrVect ()
 
virtual const char * ObjectStructName () const
 Retrieve the class name of the object.
 
bool operator== (const FrVect &RHS) const
 
bool operator!= (const FrVect &RHS) const
 
FrVectoperator+= (const FrVect &RHS)
 Concatination operator.
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 comparison operator
 
FrameCPP::cmn_streamsize_type Bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
const std::string & GetName () const
 
compress_type GetCompress () const
 
type_type GetType () const
 
nData_type GetNData () const
 
nBytes_type GetNBytes () const
 
data_type GetData (bool Decompress=true) const
 
data_type GetData (bool Decompress=true)
 
data_type GetDataRaw () const
 
data_type GetDataRaw ()
 
nDim_type GetNDim () const
 
const DimensionGetDim (nDim_type Offset) const
 
DimensionGetDim (nDim_type Offset)
 
const std::string GetUnitY () const
 
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::ObjectCloneCompressed (cmn_compression_scheme_type Scheme, cmn_compression_level_type Level) const
 
void SetName (const std::string &Name)
 Establish the channel name.
 
void SetNData (INT_4U NData)
 
size_t GetTypeSize () const
 
FrVectMerge (const FrVect &RHS)
 Merge with another FrAdcData.
 
subfrvect_type SubFrVect (INT_4U Start, INT_4U Stop) const
 
virtual FrVectCreate (istream_type &Stream) const
 constructor - virtual
 
virtual void VerifyObject (Common::Verify &Verifier, Common::IFrameStream &Stream) const
 Verify the integrity of the object.
 
virtual void Write (ostream_type &Stream) const
 Write the structure to the stream.
 
class_type GetClass () const
 Retrieve the class identifier.
 
class_type GetClass () const
 Retrieve the class identifier.
 
const DescriptionGetDescription () const
 Retrieve FrSH/FrSE description of the parent object.
 
const DescriptionGetDescription () const
 Retrieve FrSH/FrSE description of the parent object.
 
ostream_typeWriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
ostream_typeWriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
virtual ObjectCreate () const
 constructor - virtual
 
virtual ObjectCreate (std::istream &Buffer) const
 constructor - virtual
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
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 Public Member Functions

static promote_ret_type Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream)
 
static const char * StructName ()
 
static const Common::DescriptionStructDescription ()
 
template<class T >
static INT_2U GetDataType ()
 
static size_t GetTypeSize (type_type type)
 Get size of single data point of particular size.
 
static promote_ret_type Promote (INT_2U Source, promote_arg_type Obj, istream_type *Stream)
 
static const char * StructName ()
 
static const Common::DescriptionStructDescription ()
 
template<class T >
static INT_2U GetDataType ()
 
static size_t GetTypeSize (type_type type)
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
template<>
INT_2U GetDataType ()
 
static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream)
 Down grade an object.
 
static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, istream_type *Stream)
 Down grade an object.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream)
 Upgrade an object.
 
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.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, istream_type *Stream)
 Upgrade an object.
 
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.
 

Static Public Attributes

static const int DEFAULT_GZIP_LEVEL
 

Protected Member Functions

virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const
 Down grade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const
 Upgrade an object.
 
void expandToBuffer (boost::shared_array< CHAR_U > &Dest, INT_8U &DestNBytes) const
 
virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, istream_type *Stream) const
 Down grade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, istream_type *Stream) const
 Upgrade an object.
 
void expandToBuffer (boost::shared_array< CHAR_U > &Dest, INT_8U &DestNBytes) const
 
virtual class_type getClass () const
 Retrieve the class identifier.
 
virtual class_type getClass () const
 Retrieve the class identifier.
 
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
 

Private Member Functions

 FrVect (istream_type &Stream)
 
void copy_data (const data_type::element_type *Data, INT_8U size)
 
 FrVect (istream_type &Stream)
 
void copy_data (const data_type::element_type *Data, INT_8U size)
 

Private Attributes

data_container_type m_data
 
const class_type m_class
 Storage for the class identifier.
 
const Description *const m_desc
 Description for parent class.
 

Member Typedef Documentation

◆ cmn_compression_level_type [1/2]

typedef INT_2U FrameCPP::Common::FrVect::cmn_compression_level_type
inherited

◆ cmn_compression_level_type [2/2]

typedef INT_2U FrameCPP::Common::FrVect::cmn_compression_level_type
inherited

◆ cmn_compression_scheme_type [1/2]

typedef INT_4U FrameCPP::Common::FrVect::cmn_compression_scheme_type
inherited

◆ cmn_compression_scheme_type [2/2]

typedef INT_4U FrameCPP::Common::FrVect::cmn_compression_scheme_type
inherited

◆ compress_type [1/2]

typedef INT_2U FrameCPP::Version_4::FrVect::compress_type

◆ compress_type [2/2]

typedef INT_2U FrameCPP::Version_4::FrVect::compress_type

◆ data_type [1/2]

typedef boost::shared_array< CHAR_U > FrameCPP::Version_4::FrVect::data_type

◆ data_type [2/2]

typedef boost::shared_array< CHAR_U > FrameCPP::Version_4::FrVect::data_type

◆ demote_arg_type [1/2]

◆ demote_arg_type [2/2]

◆ demote_ret_type [1/2]

◆ demote_ret_type [2/2]

◆ frame_spec_version_type [1/2]

◆ frame_spec_version_type [2/2]

◆ nBytes_type [1/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nBytes_type

◆ nBytes_type [2/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nBytes_type

◆ nData_type [1/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nData_type

◆ nData_type [2/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nData_type

◆ nDim_type [1/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nDim_type

◆ nDim_type [2/2]

typedef INT_4U FrameCPP::Version_4::FrVect::nDim_type

◆ object_type [1/2]

typedef boost::shared_ptr< Object > FrameCPP::Common::FrameSpec::ObjectInterface::object_type
inherited

◆ object_type [2/2]

typedef boost::shared_ptr< Object > FrameCPP::Common::FrameSpec::ObjectInterface::object_type
inherited

◆ promote_arg_type [1/2]

◆ promote_arg_type [2/2]

◆ promote_ret_type [1/2]

◆ promote_ret_type [2/2]

◆ subfrvect_type [1/2]

typedef std::unique_ptr< FrVect > FrameCPP::Version_4::FrVect::subfrvect_type

◆ subfrvect_type [2/2]

typedef std::unique_ptr< FrVect > FrameCPP::Version_4::FrVect::subfrvect_type

◆ type_type [1/2]

typedef INT_2U FrameCPP::Version_4::FrVect::type_type

◆ type_type [2/2]

typedef INT_2U FrameCPP::Version_4::FrVect::type_type

◆ unique_object_type [1/2]

◆ unique_object_type [2/2]

Member Enumeration Documentation

◆ compression_scheme_type [1/2]

Enumerator
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
ZERO_SUPPRESS_SHORT_GZIP_OTHER 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
ZERO_SUPPRESS_SHORT_GZIP_OTHER 

◆ compression_scheme_type [2/2]

Enumerator
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
ZERO_SUPPRESS_SHORT_GZIP_OTHER 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
CST_DECL 
ZERO_SUPPRESS_SHORT_GZIP_OTHER 

◆ data_types_type [1/2]

Enumerator
FR_VECT_C 
FR_VECT_2S 
FR_VECT_8R 
FR_VECT_4R 
FR_VECT_4S 
FR_VECT_8S 
FR_VECT_8C 
FR_VECT_16C 
FR_VECT_STRING 
FR_VECT_2U 
FR_VECT_4U 
FR_VECT_8U 
FR_VECT_1U 
FR_VECT_C 
FR_VECT_2S 
FR_VECT_8R 
FR_VECT_4R 
FR_VECT_4S 
FR_VECT_8S 
FR_VECT_8C 
FR_VECT_16C 
FR_VECT_STRING 
FR_VECT_2U 
FR_VECT_4U 
FR_VECT_8U 
FR_VECT_1U 

◆ data_types_type [2/2]

Enumerator
FR_VECT_C 
FR_VECT_2S 
FR_VECT_8R 
FR_VECT_4R 
FR_VECT_4S 
FR_VECT_8S 
FR_VECT_8C 
FR_VECT_16C 
FR_VECT_STRING 
FR_VECT_2U 
FR_VECT_4U 
FR_VECT_8U 
FR_VECT_1U 
FR_VECT_C 
FR_VECT_2S 
FR_VECT_8R 
FR_VECT_4R 
FR_VECT_4S 
FR_VECT_8S 
FR_VECT_8C 
FR_VECT_16C 
FR_VECT_STRING 
FR_VECT_2U 
FR_VECT_4U 
FR_VECT_8U 
FR_VECT_1U 

Constructor & Destructor Documentation

◆ FrVect() [1/20]

FrameCPP::Version_4::FrVect::FrVect ( )

Default constructor.

◆ FrVect() [2/20]

FrameCPP::Version_4::FrVect::FrVect ( const FrVect & vect)

Copy Constructor.

Parameters
[in]vectCopied vector.
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [3/20]

FrameCPP::Version_4::FrVect::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.

Parameters
[in]nameThe name of the data.
[in]typeThe data type.
[in]nDimThe number of dimensions.
[in]dimsA pointer to 'nDim' Dimension objects containing information about the dimensions for this data.
[in]byte_orderByte order of the data. Default is BIGENDIAN.
[in]dataA pointer to the data. Default: 0
[in]unitYUnits for the data. Default: ""
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [4/20]

FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
type_type type,
nDim_type nDim,
const Dimension * dims,
const byte_order_type byte_order = BYTE_ORDER_HOST,
void * data = 0,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

Constructor.

Parameters
[in]nameThe name of the data.
[in]typeThe data type.
[in]nDimThe number of dimensions.
[in]dimsA pointer to 'nDim' Dimension objects containing information about the dimensions for this data.
[in]byte_orderByte order of the data. Default is BIGENDIAN.
[in]dataA pointer to the data. Default: 0
[in]unitYUnits for the data. Default:
[in]allocateWhether to allocate data. Default: true.
[in]ownsWhether to destruct data in the destructor. Default: true.
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [5/20]

FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
compress_type Compress,
type_type type,
nDim_type nDim,
const Dimension * dims,
nData_type NData,
nBytes_type NBytes,
void * data,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

◆ FrVect() [6/20]

FrameCPP::Version_4::FrVect::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() [7/20]

template<class T >
FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
nDim_type nDim = 1,
const Dimension * dims = 0,
const T * data = 0,
const std::string & unitY = "" )

exc: std::bad_alloc - Memory allocation failed.

◆ FrVect() [8/20]

template<class T >
FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
nDim_type nDim = 1,
const Dimension * dims = 0,
T * data = 0,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

exc: std::bad_alloc - Memory allocation failed.

◆ FrVect() [9/20]

FrameCPP::Version_4::FrVect::FrVect ( const Previous::FrVect & Source,
istream_type * Stream )

◆ ~FrVect() [1/2]

FrameCPP::Version_4::FrVect::~FrVect ( )
virtual

Reimplemented from FrameCPP::Common::FrVect.

◆ FrVect() [10/20]

FrameCPP::Version_4::FrVect::FrVect ( istream_type & Stream)
private

◆ FrVect() [11/20]

FrameCPP::Version_4::FrVect::FrVect ( )

Default constructor.

◆ FrVect() [12/20]

FrameCPP::Version_4::FrVect::FrVect ( const FrVect & vect)

Copy Constructor.

Parameters
[in]vectCopied vector.
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [13/20]

FrameCPP::Version_4::FrVect::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.

Parameters
[in]nameThe name of the data.
[in]typeThe data type.
[in]nDimThe number of dimensions.
[in]dimsA pointer to 'nDim' Dimension objects containing information about the dimensions for this data.
[in]byte_orderByte order of the data. Default is BIGENDIAN.
[in]dataA pointer to the data. Default: 0
[in]unitYUnits for the data. Default: ""
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [14/20]

FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
type_type type,
nDim_type nDim,
const Dimension * dims,
const byte_order_type byte_order = BYTE_ORDER_HOST,
void * data = 0,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

Constructor.

Parameters
[in]nameThe name of the data.
[in]typeThe data type.
[in]nDimThe number of dimensions.
[in]dimsA pointer to 'nDim' Dimension objects containing information about the dimensions for this data.
[in]byte_orderByte order of the data. Default is BIGENDIAN.
[in]dataA pointer to the data. Default: 0
[in]unitYUnits for the data. Default:
[in]allocateWhether to allocate data. Default: true.
[in]ownsWhether to destruct data in the destructor. Default: true.
Exceptions
std::bad_allocMemory allocation failed.

◆ FrVect() [15/20]

FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
compress_type Compress,
type_type type,
nDim_type nDim,
const Dimension * dims,
nData_type NData,
nBytes_type NBytes,
void * data,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

◆ FrVect() [16/20]

FrameCPP::Version_4::FrVect::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() [17/20]

template<class T >
FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
nDim_type nDim = 1,
const Dimension * dims = 0,
const T * data = 0,
const std::string & unitY = "" )

exc: std::bad_alloc - Memory allocation failed.

◆ FrVect() [18/20]

template<class T >
FrameCPP::Version_4::FrVect::FrVect ( const std::string & name,
nDim_type nDim = 1,
const Dimension * dims = 0,
T * data = 0,
const std::string & unitY = "",
bool allocate = true,
bool owns = true )

exc: std::bad_alloc - Memory allocation failed.

◆ FrVect() [19/20]

FrameCPP::Version_4::FrVect::FrVect ( const Previous::FrVect & Source,
istream_type * Stream )

◆ ~FrVect() [2/2]

virtual FrameCPP::Version_4::FrVect::~FrVect ( )
virtual

Reimplemented from FrameCPP::Common::FrVect.

◆ FrVect() [20/20]

FrameCPP::Version_4::FrVect::FrVect ( istream_type & Stream)
private

Member Function Documentation

◆ Bytes() [1/2]

FrameCPP::cmn_streamsize_type FrameCPP::Version_4::FrVect::Bytes ( const Common::StreamBase & Stream) const
virtual

Number of bytes needed to write this structure.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Bytes() [2/2]

FrameCPP::cmn_streamsize_type FrameCPP::Version_4::FrVect::Bytes ( const Common::StreamBase & Stream) const
virtual

Number of bytes needed to write this structure.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Clone() [1/2]

FrameSpec::Object * FrameCPP::Common::FrameSpec::ObjectInterface::Clone ( ) const
virtualinherited

◆ Clone() [2/2]

virtual Object * FrameCPP::Common::FrameSpec::ObjectInterface::Clone ( ) const
virtualinherited

◆ CloneCompressed() [1/2]

FrameCPP::Common::FrameSpec::Object * FrameCPP::Version_4::FrVect::CloneCompressed ( cmn_compression_scheme_type Scheme,
cmn_compression_level_type Level ) const
virtual

◆ CloneCompressed() [2/2]

virtual Common::FrameSpec::Object * FrameCPP::Version_4::FrVect::CloneCompressed ( cmn_compression_scheme_type Scheme,
cmn_compression_level_type Level ) const
virtual

◆ Compress() [1/2]

void FrameCPP::Version_4::FrVect::Compress ( compression_scheme_type Scheme,
int GZipLevel )

◆ Compress() [2/2]

void FrameCPP::Version_4::FrVect::Compress ( compression_scheme_type Scheme,
int GZipLevel )

◆ CompressData() [1/2]

void FrameCPP::Version_4::FrVect::CompressData ( INT_4U Scheme,
INT_2U GZipLevel )
virtual

◆ CompressData() [2/2]

virtual void FrameCPP::Version_4::FrVect::CompressData ( INT_4U Scheme,
INT_2U GZipLevel )
virtual

◆ Compression() [1/2]

Compression::compression_base_type FrameCPP::Version_4::FrVect::Compression ( ) const
inlinevirtual

◆ Compression() [2/2]

virtual Compression::compression_base_type FrameCPP::Version_4::FrVect::Compression ( ) const
virtual

◆ compressToBuffer() [1/2]

void FrameCPP::Common::FrVect::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
protectedinherited

◆ compressToBuffer() [2/2]

void FrameCPP::Common::FrVect::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
protectedinherited

◆ copy_data() [1/2]

void FrameCPP::Version_4::FrVect::copy_data ( const data_type::element_type * Data,
INT_8U size )
private

◆ copy_data() [2/2]

void FrameCPP::Version_4::FrVect::copy_data ( const data_type::element_type * Data,
INT_8U size )
private

◆ Create() [1/4]

FrameSpec::Object * FrameCPP::Common::FrameSpec::ObjectInterface::Create ( ) const
virtualinherited

◆ Create() [2/4]

FrVect * FrameCPP::Version_4::FrVect::Create ( istream_type & Stream) const
virtual

constructor - virtual

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Create() [3/4]

virtual FrVect * FrameCPP::Version_4::FrVect::Create ( istream_type & Stream) const
virtual

constructor - virtual

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Create() [4/4]

FrameSpec::Object * FrameCPP::Common::FrameSpec::ObjectInterface::Create ( std::istream & Buffer) const
virtualinherited

◆ demote() [1/2]

FrVect::demote_ret_type FrameCPP::Version_4::FrVect::demote ( INT_2U Target,
demote_arg_type Obj,
istream_type * Stream ) const
protectedvirtual

Down grade an object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ demote() [2/2]

virtual demote_ret_type FrameCPP::Version_4::FrVect::demote ( INT_2U Target,
demote_arg_type Obj,
istream_type * Stream ) const
protectedvirtual

Down grade an object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ DemoteObject() [1/2]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
istream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ DemoteObject() [2/2]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
istream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ expandToBuffer() [1/3]

void FrameCPP::Version_4::FrVect::expandToBuffer ( boost::shared_array< CHAR_U > & Dest,
INT_8U & DestNBytes ) const
protected

◆ expandToBuffer() [2/3]

void FrameCPP::Version_4::FrVect::expandToBuffer ( boost::shared_array< CHAR_U > & Dest,
INT_8U & DestNBytes ) const
protected

◆ expandToBuffer() [3/3]

void FrameCPP::Common::FrVect::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
protectedinherited

◆ GetClass() [1/2]

FrameSpec::class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inlineinherited

Retrieve the class identifier.

Returns
The class identifier.

◆ getClass() [1/2]

FrameSpec::class_type FrameCPP::Common::FrameSpec::Object::getClass ( ) const
protectedvirtualinherited

Retrieve the class identifier.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetClass() [2/2]

class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inherited

Retrieve the class identifier.

Returns
The class identifier.

◆ getClass() [2/2]

virtual class_type FrameCPP::Common::FrameSpec::Object::getClass ( ) const
protectedvirtualinherited

Retrieve the class identifier.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetCompress() [1/2]

FrVect::compress_type FrameCPP::Version_4::FrVect::GetCompress ( ) const
inline

◆ GetCompress() [2/2]

compress_type FrameCPP::Version_4::FrVect::GetCompress ( ) const

◆ GetData() [1/4]

FrVect::data_type FrameCPP::Version_4::FrVect::GetData ( bool Decompress = true)

◆ GetData() [2/4]

data_type FrameCPP::Version_4::FrVect::GetData ( bool Decompress = true)

◆ GetData() [3/4]

FrVect::data_type FrameCPP::Version_4::FrVect::GetData ( bool Decompress = true) const

◆ GetData() [4/4]

data_type FrameCPP::Version_4::FrVect::GetData ( bool Decompress = true) const

◆ GetDataRaw() [1/4]

FrVect::data_type FrameCPP::Version_4::FrVect::GetDataRaw ( )
inline

◆ GetDataRaw() [2/4]

data_type FrameCPP::Version_4::FrVect::GetDataRaw ( )

◆ GetDataRaw() [3/4]

FrVect::data_type FrameCPP::Version_4::FrVect::GetDataRaw ( ) const
inline

◆ GetDataRaw() [4/4]

data_type FrameCPP::Version_4::FrVect::GetDataRaw ( ) const

◆ GetDataType() [1/14]

template<class T >
static INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [2/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [3/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [4/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [5/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [6/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [7/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [8/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [9/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [10/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [11/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [12/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [13/14]

template<>
INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDataType() [14/14]

template<class T >
static INT_2U FrameCPP::Version_4::FrVect::GetDataType ( )
static

◆ GetDescription() [1/2]

const Description * FrameCPP::Common::FrameSpec::Object::GetDescription ( ) const
inlinevirtualinherited

Retrieve FrSH/FrSE description of the parent object.

Returns
The description of the parent class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetDescription() [2/2]

const Description * FrameCPP::Common::FrameSpec::Object::GetDescription ( ) const
virtualinherited

Retrieve FrSH/FrSE description of the parent object.

Returns
The description of the parent class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetDim() [1/4]

Dimension & FrameCPP::Version_4::FrVect::GetDim ( nDim_type Offset)
inline
Todo
Throw exception if value out of range
Todo
Throw exception if value out of range

◆ GetDim() [2/4]

Dimension & FrameCPP::Version_4::FrVect::GetDim ( nDim_type Offset)

◆ GetDim() [3/4]

const Dimension & FrameCPP::Version_4::FrVect::GetDim ( nDim_type Offset) const
inline
Todo
Throw exception if value out of range
Todo
Throw exception if value out of range

◆ GetDim() [4/4]

const Dimension & FrameCPP::Version_4::FrVect::GetDim ( nDim_type Offset) const

◆ GetName() [1/2]

const std::string & FrameCPP::Version_4::FrVect::GetName ( ) const

◆ GetName() [2/2]

const std::string & FrameCPP::Version_4::FrVect::GetName ( ) const

◆ GetNBytes() [1/2]

FrVect::nBytes_type FrameCPP::Version_4::FrVect::GetNBytes ( ) const
inline

◆ GetNBytes() [2/2]

nBytes_type FrameCPP::Version_4::FrVect::GetNBytes ( ) const

◆ GetNData() [1/2]

FrVect::nData_type FrameCPP::Version_4::FrVect::GetNData ( ) const

◆ GetNData() [2/2]

nData_type FrameCPP::Version_4::FrVect::GetNData ( ) const

◆ GetNDim() [1/2]

FrVect::nDim_type FrameCPP::Version_4::FrVect::GetNDim ( ) const
inline

◆ GetNDim() [2/2]

nDim_type FrameCPP::Version_4::FrVect::GetNDim ( ) const

◆ GetType() [1/2]

FrVect::type_type FrameCPP::Version_4::FrVect::GetType ( ) const
inline

◆ GetType() [2/2]

type_type FrameCPP::Version_4::FrVect::GetType ( ) const

◆ GetTypeSize() [1/4]

size_t FrameCPP::Version_4::FrVect::GetTypeSize ( ) const
inline

◆ GetTypeSize() [2/4]

size_t FrameCPP::Version_4::FrVect::GetTypeSize ( ) const

◆ GetTypeSize() [3/4]

size_t FrameCPP::Version_4::FrVect::GetTypeSize ( type_type type)
static

Get size of single data point of particular size.

Parameters
[in]typeData type ID.
Returns
Data size.

◆ GetTypeSize() [4/4]

static size_t FrameCPP::Version_4::FrVect::GetTypeSize ( type_type type)
static

◆ GetUnitY() [1/2]

const std::string FrameCPP::Version_4::FrVect::GetUnitY ( ) const
inline

◆ GetUnitY() [2/2]

const std::string FrameCPP::Version_4::FrVect::GetUnitY ( ) const

◆ Merge() [1/2]

FrVect & FrameCPP::Version_4::FrVect::Merge ( const FrVect & RHS)

Merge with another FrAdcData.

Todo
Need to implement Merge routine

◆ Merge() [2/2]

FrVect & FrameCPP::Version_4::FrVect::Merge ( const FrVect & RHS)

Merge with another FrAdcData.

◆ ObjectStructName() [1/2]

const char * FrameCPP::Version_4::FrVect::ObjectStructName ( ) const
virtual

Retrieve the class name of the object.

Returns
The name of the class associated with the object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ ObjectStructName() [2/2]

virtual const char * FrameCPP::Version_4::FrVect::ObjectStructName ( ) const
virtual

Retrieve the class name of the object.

Returns
The name of the class associated with the object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator!=() [1/2]

bool FrameCPP::Version_4::FrVect::operator!= ( const FrVect & RHS) const

◆ operator!=() [2/2]

bool FrameCPP::Version_4::FrVect::operator!= ( const FrVect & RHS) const

◆ operator+=() [1/2]

FrVect & FrameCPP::Version_4::FrVect::operator+= ( const FrVect & RHS)

Concatination operator.

Todo
Need to have a list of reasons
Todo
Need to have a list of reasons

◆ operator+=() [2/2]

FrVect & FrameCPP::Version_4::FrVect::operator+= ( const FrVect & RHS)

Concatination operator.

◆ operator==() [1/4]

bool FrVect::operator== ( const Common::FrameSpec::Object & Obj) const
virtual

comparison operator

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator==() [2/4]

virtual bool FrameCPP::Version_4::FrVect::operator== ( const Common::FrameSpec::Object & Obj) const
virtual

comparison operator

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ operator==() [3/4]

bool FrameCPP::Version_4::FrVect::operator== ( const FrVect & RHS) const

◆ operator==() [4/4]

bool FrameCPP::Version_4::FrVect::operator== ( const FrVect & RHS) const

◆ Promote() [1/2]

FrVect::promote_ret_type FrameCPP::Version_4::FrVect::Promote ( INT_2U Source,
promote_arg_type Obj,
istream_type * Stream )
inlinestatic

◆ Promote() [2/2]

static promote_ret_type FrameCPP::Version_4::FrVect::Promote ( INT_2U Source,
promote_arg_type Obj,
istream_type * Stream )
static

◆ promote() [1/2]

FrVect::promote_ret_type FrameCPP::Version_4::FrVect::promote ( INT_2U Target,
promote_arg_type Obj,
istream_type * Stream ) const
protectedvirtual

Upgrade an object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ promote() [2/2]

virtual promote_ret_type FrameCPP::Version_4::FrVect::promote ( INT_2U Target,
promote_arg_type Obj,
istream_type * Stream ) const
protectedvirtual

Upgrade an object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ PromoteObject() [1/5]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
istream_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [2/5]

template<typename PreviousType , typename CurrentType >
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
istream_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [3/5]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
istream_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [4/5]

template<typename PreviousType , typename CurrentType >
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
istream_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [5/5]

template<typename PreviousType , typename CurrentType >
FrameSpec::ObjectInterface::promote_ret_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( FrameSpec::ObjectInterface::frame_spec_version_type Target,
FrameSpec::ObjectInterface::frame_spec_version_type Source,
FrameSpec::ObjectInterface::promote_arg_type Obj,
IStream * Stream )
inherited

◆ SetName() [1/2]

void FrameCPP::Version_4::FrVect::SetName ( const std::string & Name)
inline

Establish the channel name.

Assign a new value for the channel name.

Parameters
[in]NameThe channel name

◆ SetName() [2/2]

void FrameCPP::Version_4::FrVect::SetName ( const std::string & Name)

Establish the channel name.

Parameters
[in]NameThe channel name

◆ SetNData() [1/2]

void FrameCPP::Version_4::FrVect::SetNData ( INT_4U NData)
inline

◆ SetNData() [2/2]

void FrameCPP::Version_4::FrVect::SetNData ( INT_4U NData)

◆ StructDescription() [1/2]

const Description * FrameCPP::Version_4::FrVect::StructDescription ( )
static

◆ StructDescription() [2/2]

static const Common::Description * FrameCPP::Version_4::FrVect::StructDescription ( )
static

◆ StructName() [1/2]

const char * FrameCPP::Version_4::FrVect::StructName ( )
inlinestatic

◆ StructName() [2/2]

static const char * FrameCPP::Version_4::FrVect::StructName ( )
static

◆ SubFrVect() [1/2]

FrVect::subfrvect_type FrameCPP::Version_4::FrVect::SubFrVect ( INT_4U Start,
INT_4U Stop ) const

◆ SubFrVect() [2/2]

subfrvect_type FrameCPP::Version_4::FrVect::SubFrVect ( INT_4U Start,
INT_4U Stop ) const

◆ Uncompress() [1/2]

void FrameCPP::Version_4::FrVect::Uncompress ( )

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.

◆ Uncompress() [2/2]

void FrameCPP::Version_4::FrVect::Uncompress ( )

◆ VerifyObject() [1/2]

void FrameCPP::Version_4::FrVect::VerifyObject ( Common::Verify & Verifier,
Common::IFrameStream & Stream ) const
virtual

Verify the integrity of the object.

Parameters
VerifierThe handle to the Verify object used to store data that needs to be accumulated before being processed.
StreamThe input stream from which the object was created.
Remarks
Upon failure, this method thows an exception.

This routine is called to verify the integrety of this FrVect object.

Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.

◆ VerifyObject() [2/2]

virtual void FrameCPP::Version_4::FrVect::VerifyObject ( Common::Verify & Verifier,
Common::IFrameStream & Stream ) const
virtual

Verify the integrity of the object.

Parameters
VerifierThe handle to the Verify object used to store data that needs to be accumulated before being processed.
StreamThe input stream from which the object was created.
Remarks
Upon failure, this method thows an exception.

Reimplemented from FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Write() [1/2]

void FrameCPP::Version_4::FrVect::Write ( ostream_type & Stream) const
virtual

Write the structure to the stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Write() [2/2]

virtual void FrameCPP::Version_4::FrVect::Write ( ostream_type & Stream) const
virtual

Write the structure to the stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ WriteNext() [1/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

◆ WriteNext() [2/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

Member Data Documentation

◆ DEFAULT_GZIP_LEVEL

static const int FrameCPP::Version_4::FrVect::DEFAULT_GZIP_LEVEL
static

◆ m_class

const class_type FrameCPP::Common::FrameSpec::Object::m_class
privateinherited

Storage for the class identifier.

The class identifier uniquely identifies the parent class within the frame specification. All instances of parent class will have the same class identifier.

◆ m_data

data_container_type FrameCPP::Version_4::FrVect::m_data
private

◆ m_desc

const Description *const FrameCPP::Common::FrameSpec::Object::m_desc
privateinherited

Description for parent class.

The description for the parent class composed of one FrSH and one or more FrSE elements.


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