|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Container class for a table of dimensions for a given dataset. More...
#include <Dimension.h>

Public Member Functions | |
| void | addDimensionUnique (const Dimension &dim) |
| Add the dimension to the table if one with the same name doesn't already exist. More... | |
| void | clear () |
| DimensionTable (unsigned int capacity=0) | |
| bool | findDimension (const std::string &name, Dimension *pOut=0) const |
| Find the dimension with the given name. More... | |
| const std::vector< Dimension > & | getDimensions () const |
| ~DimensionTable () | |
Container class for a table of dimensions for a given dataset.
Definition at line 80 of file Dimension.h.
| agg_util::DimensionTable::DimensionTable | ( | unsigned int | capacity = 0 | ) |
| agg_util::DimensionTable::~DimensionTable | ( | ) |
| void agg_util::DimensionTable::addDimensionUnique | ( | const Dimension & | dim | ) |
Add the dimension to the table if one with the same name doesn't already exist.
If a dimension with the same name is already there, it is NOT added.
Definition at line 109 of file Dimension.cc.
References BESDEBUG, findDimension(), and agg_util::Dimension::name.

| void agg_util::DimensionTable::clear | ( | ) |
| bool agg_util::DimensionTable::findDimension | ( | const std::string & | name, |
| Dimension * | pOut = 0 |
||
| ) | const |
Find the dimension with the given name.
If found, place it into pOut if pOut is non-null
Definition at line 88 of file Dimension.cc.
Referenced by addDimensionUnique().
| const std::vector< Dimension > & agg_util::DimensionTable::getDimensions | ( | ) | const |
Definition at line 122 of file Dimension.cc.