bes Updated for version 3.20.10
agg_util::Dimension Struct Reference

#include <Dimension.h>

Collaboration diagram for agg_util::Dimension:
Collaboration graph

Public Member Functions

 Dimension (const std::string &nameArg, unsigned int sizeArg, bool isSharedArg=false, bool isSizeConstantArg=true)
 
std::string toString () const
 

Public Attributes

bool isShared
 
bool isSizeConstant
 
std::string name
 
unsigned int size
 

Detailed Description

Struct for holding information about a dimension of data, minimally a name and a cardinality (size).

We use this class as a go-between to keep ncml_module::DimensionElement out of the agg_util::AggregationUtil dependencies.

There's really no invariants on the data rep now, so I will leave it as a struct.

Definition at line 49 of file Dimension.h.

Constructor & Destructor Documentation

◆ Dimension() [1/2]

agg_util::Dimension::Dimension ( )

Definition at line 41 of file Dimension.cc.

◆ Dimension() [2/2]

agg_util::Dimension::Dimension ( const std::string &  nameArg,
unsigned int  sizeArg,
bool  isSharedArg = false,
bool  isSizeConstantArg = true 
)

Definition at line 46 of file Dimension.cc.

◆ ~Dimension()

agg_util::Dimension::~Dimension ( )

Definition at line 51 of file Dimension.cc.

Member Function Documentation

◆ toString()

std::string agg_util::Dimension::toString ( ) const

Dump to string and return (using operator<<)

Definition at line 55 of file Dimension.cc.

Member Data Documentation

◆ isShared

bool agg_util::Dimension::isShared

Definition at line 66 of file Dimension.h.

◆ isSizeConstant

bool agg_util::Dimension::isSizeConstant

Definition at line 69 of file Dimension.h.

◆ name

std::string agg_util::Dimension::name

Definition at line 60 of file Dimension.h.

◆ size

unsigned int agg_util::Dimension::size

Definition at line 63 of file Dimension.h.


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