Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes

Strat::Layer Class Reference

data for a layer. More...

List of all members.

Public Types

typedef CompoundKey ID

Public Member Functions

 Layer (const LeafUnitRef &)
const LeafUnitRefunitRef () const
void setRef (const LeafUnitRef &r)
const RefTreerefTree () const
float zTop () const
float thickness () const
int nrValues () const
float value (int) const
 returns undef if necessary
void setZTop (float v)
void setThickness (float v)
void setValue (int, float)
 automatically adds space
float zBot () const
float depth () const
ID id () const
 unitRef().fullCode()
const float * values () const

Static Public Member Functions

static const PropertyRefthicknessRef ()

Protected Attributes

const LeafUnitRefref_
float ztop_
TypeSet< float > vals_

Detailed Description

data for a layer.

Layers are atached to a UnitRef. To understand the values, you need access to the governing PropertyRefSet, usually attached to the LayerSequence that the Layer is part of.


Member Typedef Documentation


Constructor & Destructor Documentation

Strat::Layer::Layer ( const LeafUnitRef  ) 

Member Function Documentation

float Strat::Layer::depth (  )  const [inline]
ID Strat::Layer::id (  )  const

unitRef().fullCode()

int Strat::Layer::nrValues (  )  const [inline]
const RefTree& Strat::Layer::refTree (  )  const
void Strat::Layer::setRef ( const LeafUnitRef r  )  [inline]
void Strat::Layer::setThickness ( float  v  )  [inline]
void Strat::Layer::setValue ( int  ,
float   
)

automatically adds space

void Strat::Layer::setZTop ( float  v  )  [inline]
float Strat::Layer::thickness (  )  const [inline]
static const PropertyRef& Strat::Layer::thicknessRef (  )  [static]
const LeafUnitRef& Strat::Layer::unitRef (  )  const
float Strat::Layer::value ( int   )  const

returns undef if necessary

const float* Strat::Layer::values (  )  const [inline]
float Strat::Layer::zBot (  )  const [inline]
float Strat::Layer::zTop (  )  const [inline]

Member Data Documentation

const LeafUnitRef* Strat::Layer::ref_ [protected]
TypeSet<float> Strat::Layer::vals_ [protected]
float Strat::Layer::ztop_ [protected]