CLAM-Development
1.4.0
|
Contains frame data for an SDIF frame. More...
#include <SDIFMatrix.hxx>
Public Member Functions | |
virtual | ~Matrix () |
TypeId | Type (void) |
CLAM::TInt32 | Rows (void) |
CLAM::TInt32 | Columns (void) |
CLAM::TInt32 | SizeInFile (void) |
Protected Member Functions | |
Matrix (const MatrixHeader &header) | |
Matrix (const TypeId &type=TypeId::sDefault, DataType dataType=eUnknown, CLAM::TInt32 nRows=0, CLAM::TInt32 nColumns=0) | |
virtual char * | GetPtr (void)=0 |
virtual void | Resize (int nElems)=0 |
virtual void | SetSize (int nElems)=0 |
Protected Attributes | |
MatrixHeader | mHeader |
Friends | |
class | File |
Contains frame data for an SDIF frame.
The data in a Frames are stored in 2D matrices. Each column corresponds to a parameter like frequency or amplitude and each row represents an object like a filter, sinusoid, or noise band. Each Matrix starts with a MatrixHeader, that contains a type id, and the dimensions of the matrix.
As Matrixes are stored in a linked list in the Frames, each Matrix has a pointer to the next matrix inside the frame.
Definition at line 47 of file SDIFMatrix.hxx.
|
inlineprotected |
Definition at line 53 of file SDIFMatrix.hxx.
|
protected |
Definition at line 27 of file SDIFMatrix.cxx.
|
inlinevirtual |
Definition at line 65 of file SDIFMatrix.hxx.
|
inline |
Definition at line 70 of file SDIFMatrix.hxx.
References mHeader, and SDIF::MatrixHeader::mnColumns.
Referenced by SDIF::ConcreteMatrix< T >::ConcreteMatrix().
|
protectedpure virtual |
Implemented in SDIF::ConcreteMatrix< T >.
|
protectedpure virtual |
Implemented in SDIF::ConcreteMatrix< T >.
|
inline |
Definition at line 69 of file SDIFMatrix.hxx.
References mHeader, and SDIF::MatrixHeader::mnRows.
Referenced by SDIF::ConcreteMatrix< T >::ConcreteMatrix().
|
protectedpure virtual |
Implemented in SDIF::ConcreteMatrix< T >.
|
inline |
Definition at line 71 of file SDIFMatrix.hxx.
References SDIF::MatrixHeader::mDataType, mHeader, SDIF::MatrixHeader::mnColumns, SDIF::MatrixHeader::mnRows, and SDIF::MatrixHeader::SizeInFile().
Referenced by SDIF::Frame::Add().
|
inline |
Definition at line 67 of file SDIFMatrix.hxx.
References mHeader, and SDIF::MatrixHeader::mType.
|
friend |
Reimplemented in SDIF::ConcreteMatrix< T >.
Definition at line 49 of file SDIFMatrix.hxx.
|
protected |
Definition at line 51 of file SDIFMatrix.hxx.
Referenced by Columns(), SDIF::ConcreteMatrix< T >::GetValue(), Rows(), SDIF::ConcreteMatrix< T >::SetValue(), SizeInFile(), and Type().