Class Index | Cross Index | Namespace Index |
Contained in: FrameCPP::Version_6
Derived from:
FrameCPP::Version_6::FrBase
Derived by:
none
#include "../../../../../lib/framecpp/src/Version6/FrVect.hh"
public function member index: |
|||
FrVect | (); | Default constructor | |
FrVect | (const FrVect& vect); | Copy Constructor. | |
FrVect | (const std::string& name, INT_2U type, INT_4U 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, INT_2U type, INT_4U 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, INT_4U nDim = 1, const Dimension* dims = 0, const T* data = 0, const std::string& unitY = ""); | ||
FrVect | (const std::string& name, INT_4U nDim = 1, const Dimension* dims = 0, T* data = 0, const std::string& unitY = "", bool allocate = true, bool owns = true); | ||
FrVect | (const std::string& name, INT_2U type, INT_4U nDim, const INT_4U* dims, const byte_order_type byte_order = BYTE_ORDER_HOST, const void* data = 0, const std::string& unitY = ""); | Constructor. | |
FrVect | (const std::string& name, INT_2U type, INT_4U nDim, const INT_4U* 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, INT_4U nDim = 1, const INT_4U* dims = 0, const T* data = 0, const std::string& unitY = ""); | ||
FrVect | (const std::string& name, INT_4U nDim = 1, const INT_4U* dims = 0, T* data = 0, const std::string& unitY = "", bool allocate = true, bool owns = true); | ||
virtual | ~FrVect | (); | |
INT_8U | Bytes | () const; | Number of bytes needed to write this structure |
void | Compress | (compression_scheme_type Scheme, int GZipLevel); | |
INT_2U | GetCompress | () const; | |
const CHAR_U* | GetData | (bool Decompress = true) const; | |
CHAR_U* | GetData | (bool Decompress = true); | |
static INT_2U | GetDataType | (); | |
const Dimension& | GetDim | (INT_4U Offset) const; | |
Dimension& | GetDim | (INT_4U Offset); | |
INT_8U | GetNBytes | () const; | |
INT_8U | GetNData | () const; | |
inline INT_4U | GetNDim | () const; | |
const std::string& | GetName | () const; | |
INT_2U | GetType | () const; | |
size_t | GetTypeSize | () const; | |
static size_t | GetTypeSize | (INT_2U type); | |
const std::string | GetUnitY | () const; | |
FrVect& | Merge | (const FrVect& RHS); | Merge with another FrAdcData |
static FrVect* | ReadDynamic | (IFrameStream& Stream, const FrBase& Base); | Read the structure from stream |
void | SetNData | (INT_4U NData); | |
std::auto_ptr< FrVect > | SubFrVect | (INT_4U Start, INT_4U Stop) const; | |
void | Uncompress | (); | |
virtual void | Write | (OFrameStream& Stream) const; | Write the structure to the stream |
virtual void | WriteDescription | (OFrameStream& Stream) const; | Write the structure description to the stream |
void | expand | (); | |
inline INT_2U | getCompress | () const; | |
inline const CHAR_U* | getData | () const; | |
inline CHAR_U* | getData | (); | |
static INT_2U | getDataType | (); | |
inline const Dimension& | getDimension | (INT_4U Offset) const; | |
inline Dimension& | getDimension | (INT_4U Offset); | |
inline INT_8U | getNBytes | () const; | |
inline INT_8U | getNData | () const; | |
inline INT_4U | getNDim | () const; | |
inline const std::string& | getName | () const; | |
static const CHAR* | getStaticName | (); | |
inline INT_2U | getType | () const; | |
inline static size_t | getTypeSize | (INT_2U type); | |
inline const std::string | getUnitY | () const; | |
bool | operator != | (const FrVect& RHS) const; | |
FrVect& | operator += | (const FrVect& RHS); | Concatination operator |
bool | operator == | (const FrVect& RHS) const; | Comparison operator |
inline void | setNData | (INT_4U NData); | |
private function member index: |
|||
void | copy_data | (CHAR_U* Data, INT_8U size, bool allocate, bool own); | |
void | read | (IFrameStream& Stream); | |
Parameters:
Parameter | Description |
const Vect& vect | Copied vector. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const std::string& name | The name of the data. |
INT_2U type | The data type. |
INT_4U nDim | The number of dimensions. |
const Dimension* dims | A pointer to 'nDim' Dimension objects containing information about the dimensions for this data. |
const byte_order_type byte_order | Byte order of the data. Default is BIGENDIAN. |
const void* data | A pointer to the data. Default: 0 |
const std::string& unitY | Units for the data. Default: "" |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const std::string& name | The name of the data. |
INT_2U type | The data type. |
INT_4U nDim | The number of dimensions. |
const Dimension* dims | A pointer to 'nDim' Dimension objects containing information about the dimensions for this data. |
const byte_order_type byte_order | Byte order of the data. Default is BIGENDIAN. |
const void* data | A pointer to the data. Default: 0 |
const std::string& unitY | Units for the data. Default: "" |
bool allocate | Whether to allocate data. Default: true. |
bool owns | Whether to destruct data in the destructor. Default: true. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const std::string& name | The name of the data. |
INT_2U type | The data type. |
INT_4U nDim | The number of dimensions. |
const INT_4U* dims | A pointer to 'nDim' Dimension objects containing information about the dimensions for this data. |
const byte_order_type byte_order | Byte order of the data. Default is BIGENDIAN. |
const void* data | A pointer to the data. Default: 0 |
const std::string& unitY | Units for the data. Default: "" |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Parameters:
Parameter | Description |
const std::string& name | The name of the data. |
INT_2U type | The data type. |
INT_4U nDim | The number of dimensions. |
const INT_4U* dims | A pointer to 'nDim' Dimension objects containing information about the dimensions for this data. |
const byte_order_type byte_order | Byte order of the data. Default is BIGENDIAN. |
const void* data | A pointer to the data. Default: 0 |
const std::string& unitY | Units for the data. Default: "" |
bool allocate | Whether to allocate data. Default: true. |
bool owns | Whether to destruct data in the destructor. Default: true. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Exceptions:
Exception | Description |
std::bad_alloc | Memory allocation failed. |
Mutators
Accessors