CLAM-Development  1.4.0
Public Member Functions | Static Public Member Functions | Public Attributes
SDIF::MatrixHeader Class Reference

The header for each Matrix. More...

#include <SDIFHeader.hxx>

List of all members.

Public Member Functions

 MatrixHeader ()
 MatrixHeader (const TypeId &type, DataType dataType, CLAM::TInt32 nRows, CLAM::TInt32 nColumns)

Static Public Member Functions

static CLAM::TInt32 SizeInFile (void)
 Create a new MatrixHeader.

Public Attributes

TypeId mType
DataType mDataType
CLAM::TInt32 mnRows
CLAM::TInt32 mnColumns

Detailed Description

The header for each Matrix.

Definition at line 91 of file SDIFHeader.hxx.


Constructor & Destructor Documentation

SDIF::MatrixHeader::MatrixHeader ( )
inline

Definition at line 121 of file SDIFHeader.hxx.

SDIF::MatrixHeader::MatrixHeader ( const TypeId type = "\0\0\0\0",
DataType  dataType = eUnknown,
CLAM::TInt32  nRows = 0,
CLAM::TInt32  nColumns = 0 
)

Definition at line 42 of file SDIFHeader.cxx.

References mDataType, mnColumns, mnRows, and mType.


Member Function Documentation

static CLAM::TInt32 SDIF::MatrixHeader::SizeInFile ( void  )
inlinestatic

Create a new MatrixHeader.

Parameters:
typeIdentifier specifying the matrix type
dataTypeIdentifier specifying the type of data type in the matrix
nRowsNumber of rows in the matrix
nColumnsNumber of rows in the matrix

Definition at line 112 of file SDIFHeader.hxx.

Referenced by SDIF::Matrix::SizeInFile().


Member Data Documentation

DataType SDIF::MatrixHeader::mDataType

Definition at line 98 of file SDIFHeader.hxx.

Referenced by MatrixHeader(), SDIF::File::Read(), and SDIF::Matrix::SizeInFile().

CLAM::TInt32 SDIF::MatrixHeader::mnColumns
CLAM::TInt32 SDIF::MatrixHeader::mnRows

Definition at line 100 of file SDIFHeader.hxx.

Referenced by MatrixHeader(), SDIF::Matrix::Rows(), and SDIF::Matrix::SizeInFile().

TypeId SDIF::MatrixHeader::mType

Definition at line 96 of file SDIFHeader.hxx.

Referenced by MatrixHeader(), and SDIF::Matrix::Type().


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