# MI - Fimex: MetNoFimex::CoordinateAxis Class Reference

# MetNoFimex::CoordinateAxis Class Reference

`#include <fimex/coordSys/CoordinateAxis.h>`

Inheritance diagram for MetNoFimex::CoordinateAxis:

List of all members.

## Public Types

enum | AxisType { Undefined = 0, GeoX, GeoY, GeoZ, Time, Lon, Lat, Pressure, Height }

## Public Member Functions

| CoordinateAxis (const CDMVariable &var)
virtual | ~CoordinateAxis ()
bool | operator< (const CoordinateAxis &ca)
AxisType | getAxisType () const
std::string | getAxisTypeStr () const
void | setAxisType (AxisType t)
bool | isAxisType (AxisType t) const
bool | isExplicit () const
void | setExplicit (bool isExplicit)

## Static Public Member Functions

static std::string | type2string (AxisType type)

## Member Enumeration Documentation

enum MetNoFimex::CoordinateAxis::AxisType

Enumerator:

  Undefined |
  GeoX |
  GeoY |
  GeoZ |
  Time |
  Lon |
  Lat |
  Pressure |
  Height |

## Constructor & Destructor Documentation

MetNoFimex::CoordinateAxis::CoordinateAxis | ( | const CDMVariable & | var | ) | `[inline, explicit]`

virtual MetNoFimex::CoordinateAxis::~CoordinateAxis | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

static std::string MetNoFimex::CoordinateAxis::type2string | ( | AxisType | type | ) | `[inline, static]`

References GeoX, GeoY, GeoZ, Height, Lat, Lon, Pressure, and Time.

Referenced by getAxisTypeStr().

bool MetNoFimex::CoordinateAxis::operator< | ( | const CoordinateAxis & | ca | ) | `[inline]`

References MetNoFimex::CDMVariable::getName().

AxisType MetNoFimex::CoordinateAxis::getAxisType | ( |  | ) | const`[inline]`

std::string MetNoFimex::CoordinateAxis::getAxisTypeStr | ( |  | ) | const`[inline]`

References type2string().

void MetNoFimex::CoordinateAxis::setAxisType | ( | AxisType | t | ) | `[inline]`

bool MetNoFimex::CoordinateAxis::isAxisType | ( | AxisType | t | ) | const`[inline]`

bool MetNoFimex::CoordinateAxis::isExplicit | ( |  | ) | const`[inline]`

Check if this axis is a explicitly netcdf-dimension, too.

Returns:
  false if this is a implicit 'coordinates' variable, rather than a netcdf-dimension

void MetNoFimex::CoordinateAxis::setExplicit | ( | bool | isExplicit | ) | `[inline]`

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

- include/fimex/coordSys/CoordinateAxis.h