All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Types | Public Member Functions
DinverDCCore::GroundParameter Class Reference

Brief description of class still missing. More...

#include <GroundParameter.h>

Inheritance diagram for DinverDCCore::GroundParameter:
DinverCore::Parameter QGpCoreTools::XMLClass

List of all members.

Public Types

enum  Type { ValueTop, ValueBottom, Depth, Thickness }

Public Member Functions

void addLayer (const ParamLayer *layer)
int count () const
const ParamGroundModelgroundModel () const
 GroundParameter (const ParamGroundModel *groundModel, const ParamLayer *layer, Type type, double min, double max)
const ParamLayerlayer (int index) const
Type type () const

Detailed Description

Brief description of class still missing.

Full description of class still missing


Member Enumeration Documentation

Enumerator:
ValueTop 
ValueBottom 
Depth 
Thickness 

Constructor & Destructor Documentation

DinverDCCore::GroundParameter::GroundParameter ( const ParamGroundModel groundModel,
const ParamLayer layer,
Type  type,
double  min,
double  max 
)

Description of constructor still missing

References Depth, groundModel(), layer(), DinverCore::Parameter::setMaximum(), DinverCore::Parameter::setMinimum(), DinverCore::Parameter::setName(), DinverCore::Parameter::setUnit(), Thickness, TRACE, type(), ValueBottom, and ValueTop.

    : Parameter()
{
  TRACE;

  _groundModel=groundModel;
  _layers << layer;
  _type=type;
  switch(_type) {
  case ValueTop:
    setName( "Top"+layer->name());
    setUnit(layer->unit());
    break;
  case ValueBottom:
    setName( "Bottom"+layer->name());
    setUnit(layer->unit());
    break;
  case Depth:
    setName( "D"+layer->name());
    setUnit("m");
    break;
  case Thickness:
    setName( "H"+layer->name());
    setUnit("m");
    break;
  }
  setMinimum(min);
  setMaximum(max);
}

Member Function Documentation

void DinverDCCore::GroundParameter::addLayer ( const ParamLayer layer) [inline]
{_layers << layer;}
int DinverDCCore::GroundParameter::count ( ) const [inline]
const ParamLayer* DinverDCCore::GroundParameter::layer ( int  index) const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines