|
NexusCPP
3.5.0
|
#include <nxfile.h>

Public Member Functions | |
| NexusDataSetInfo () | |
| Constructor. More... | |
| ~NexusDataSetInfo () | |
| Destructor. More... | |
| void | SetInfo (NexusDataType eDataType, int iRank) |
| void | Clear () |
| Clears instance. More... | |
Accessors | |
| NexusDataType | DataType () const |
| Returns the data type. More... | |
| int | Rank () const |
| Returns the data set rank. More... | |
| int | TotalRank () const |
| Returns the whole data set rank. More... | |
| int * | DimArray () const |
| Returns size array of dimensions. More... | |
| int * | TotalDimArray () const |
| void | SetTotalDim (int iTotalRank, int *piTotalDim) |
| int | Size () const |
| Returns total size. More... | |
| bool | IsEmpty () const |
| Returns 'true' if no data set info is stored. More... | |
| unsigned int | DatumSize () const |
| Returns datum size. More... | |
| unsigned int | BufferSize () const |
| Returns buffer size. More... | |
| int * | StartArray () const |
| Returns array of indices of starting values in Ith dimension. More... | |
| int * | StartArray () |
| bool | IsSubset () const |
| Is the dataset info about a subset? More... | |
Static Public Member Functions | |
| static int | DataTypeSize (NexusDataType eDataType) |
| Returns size according to a data type. More... | |
Protected Attributes | |
| NexusDataType | m_eDataType |
| int | m_iRank |
| int | m_iTotalRank |
| int * | m_piDim |
| int * | m_piTotalDim |
| int * | m_piStart |
NeXus Data set info
This class allow manipulation of NeXus Data sets and subsets
| nxcpp::NexusDataSetInfo::NexusDataSetInfo | ( | ) |
Constructor.
| nxcpp::NexusDataSetInfo::~NexusDataSetInfo | ( | ) |
Destructor.
|
inline |
Returns buffer size.
| void nxcpp::NexusDataSetInfo::Clear | ( | ) |
Clears instance.
|
inline |
Returns the data type.

|
static |
Returns size according to a data type.
| unsigned int nxcpp::NexusDataSetInfo::DatumSize | ( | ) | const |
Returns datum size.

|
inline |
Returns size array of dimensions.
| bool nxcpp::NexusDataSetInfo::IsEmpty | ( | ) | const |
Returns 'true' if no data set info is stored.
|
inline |
Is the dataset info about a subset?
|
inline |
Returns the data set rank.
| void nxcpp::NexusDataSetInfo::SetInfo | ( | NexusDataType | eDataType, |
| int | iRank | ||
| ) |
Sets datas
| eDataType | Data type |
| iRank | Data rank |
| void nxcpp::NexusDataSetInfo::SetTotalDim | ( | int | iTotalRank, |
| int * | piTotalDim | ||
| ) |
Set the whole dataset dimension's sizes
| iTotalRank | Rank of the whole dataset |
| piTotalDim | Dimension sizes of the whole dataset |
| int nxcpp::NexusDataSetInfo::Size | ( | ) | const |
Returns total size.
|
inline |
Returns array of indices of starting values in Ith dimension.
| int* nxcpp::NexusDataSetInfo::StartArray | ( | ) |
|
inline |
Returns size array of dimensions of the whole dataset
|
inline |
Returns the whole data set rank.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13