IODA

Describes the dimensions of an Attribute or Variable. More...

#include <Dimensions.h>

Public Member Functions

 Dimensions (const std::vector< Dimensions_t > &dimscur, const std::vector< Dimensions_t > &dimsmax, Dimensions_t dality, Dimensions_t np)
 Convenient constructor function. More...
 
 Dimensions ()
 

Public Attributes

std::vector< Dimensions_t > dimsCur
 The dimensions of the data. More...
 
std::vector< Dimensions_t > dimsMax
 This must always equal dimsCur for Attribute. More...
 
Dimensions_t dimensionality
 The dimensionality (rank) of the data. More...
 
Dimensions_t numElements
 

Detailed Description

Describes the dimensions of an Attribute or Variable.

Definition at line 22 of file Dimensions.h.

Constructor & Destructor Documentation

◆ Dimensions() [1/2]

ioda::Dimensions::Dimensions ( const std::vector< Dimensions_t > &  dimscur,
const std::vector< Dimensions_t > &  dimsmax,
Dimensions_t  dality,
Dimensions_t  np 
)
inline

Convenient constructor function.

Definition at line 28 of file Dimensions.h.

◆ Dimensions() [2/2]

ioda::Dimensions::Dimensions ( )
inline

Definition at line 31 of file Dimensions.h.

Member Data Documentation

◆ dimensionality

Dimensions_t ioda::Dimensions::dimensionality

The dimensionality (rank) of the data.

Definition at line 25 of file Dimensions.h.

◆ dimsCur

std::vector<Dimensions_t> ioda::Dimensions::dimsCur

The dimensions of the data.

Definition at line 23 of file Dimensions.h.

◆ dimsMax

std::vector<Dimensions_t> ioda::Dimensions::dimsMax

This must always equal dimsCur for Attribute.

Definition at line 24 of file Dimensions.h.

◆ numElements

Dimensions_t ioda::Dimensions::numElements

The number of elements of data (PROD(dimsCur)).

Definition at line 26 of file Dimensions.h.


The documentation for this struct was generated from the following file: