Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CGNS::IndexArray Class Reference

#include <cgns++.h>

Inherits CGNS::Node.

Inheritance diagram for CGNS::IndexArray:

Inheritance graph
[legend]
List of all members.

Public Types

typedef int INT_t
enum  DataType { INT }

Public Methods

int getNumDimensions () const
int getDimension (int iNth) const
void setDimensions (int iNumDimensions, int const *iDimensions)
void setDimensions (int iDimension)
void setDimensions (int iDim1, int iDim2)
void setDimensions (int iDim1, int iDim2, int iDim3)
DataType getDataType () const
void setDataTypeDimensions (DataType iType, int iNumDimensions, int const *iDimensions)
void setDataTypeDimensions (DataType iType, int iDimension)
void setDataTypeDimensions (DataType iType, int iDim1, int iDim2)
void setDataTypeDimensions (DataType iType, int iDim1, int iDim2, int iDim3)
void readData (INT_t *oData) const
void readData (StridedRange1D iDiskStride, INT_t *oData, StridedRange1D iMemoryStride) const
void readData (StridedRange2D iDiskStride, INT_t *oData, StridedRange2D iMemoryStride) const
void readData (StridedRange3D iDiskStride, INT_t *oData, StridedRange3D iMemoryStride) const
void writeData (INT_t const *iData)
 IndexArray (Private::IndexArray *iImpl)

Detailed Description

Represents a SIDS node representing index data.


Member Typedef Documentation

typedef int INT_t
 


Member Enumeration Documentation

enum DataType
 

The different data types a DataArray node may contain.

Enumeration values:
INT 


Constructor & Destructor Documentation

IndexArray Private::IndexArray *    iImpl
 

Creates this data array from implementation data.


Member Function Documentation

DataType getDataType   const
 

Gets the data type used in this DataArray.

int getDimension int    iNth const
 

Gets the size of the nth dimension.

int getNumDimensions   const
 

Gets the number of dimensions.

void readData StridedRange3D    iDiskStride,
INT_t   oData,
StridedRange3D    iMemoryStride
const
 

void readData StridedRange2D    iDiskStride,
INT_t   oData,
StridedRange2D    iMemoryStride
const
 

void readData StridedRange1D    iDiskStride,
INT_t   oData,
StridedRange1D    iMemoryStride
const
 

Reads the data from disk, with strides and possibly conversion.

void readData INT_t   oData const
 

Reads the data from disk, possibly with conversion.

void setDataTypeDimensions DataType    iType,
int    iDim1,
int    iDim2,
int    iDim3
 

Sets data type and three dimensions at once.

void setDataTypeDimensions DataType    iType,
int    iDim1,
int    iDim2
 

Sets data type and two dimensions at once.

void setDataTypeDimensions DataType    iType,
int    iDimension
 

Sets data type and a single one dimension at once.

void setDataTypeDimensions DataType    iType,
int    iNumDimensions,
int const *    iDimensions
 

Sets data type and all dimensions at once.

void setDimensions int    iDim1,
int    iDim2,
int    iDim3
 

Sets three dimensions.

void setDimensions int    iDim1,
int    iDim2
 

Sets two dimensions.

void setDimensions int    iDimension
 

Sets a single one.

void setDimensions int    iNumDimensions,
int const *    iDimensions
 

Sets all dimensions at once.

void writeData INT_t const *    iData
 

Writes the data to disk.


Generated on Thu Mar 14 10:44:29 2002 for CGNS++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001