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

VelocityDesc Class Reference

List of all members.

Public Types

enum  Type {
  Unknown, Interval, RMS, Avg,
  Delta, Epsilon, Eta
}

Public Member Functions

 VelocityDesc ()
 VelocityDesc (Type)
bool operator== (const VelocityDesc &) const
bool operator!= (const VelocityDesc &) const
bool isVelocity () const
bool isThomsen () const
void fillPar (IOPar &) const
bool usePar (const IOPar &)

Static Public Member Functions

static const EnumDefTypeDef ()
static const char ** TypeNames ()
static bool parseEnumType (const char *, Type &)
static const char * getTypeString (Type)
static bool isVelocity (Type)
static bool isThomsen (Type)
static void removePars (IOPar &)
static const char * sKeyVelocityType ()
static const char * sKeyIsFeetPerSecond ()
static const char * sKeyIsVelocity ()
static const char * getVelUnit (bool withparens=true)

Public Attributes

Type type_
StaticsDesc statics_

Static Protected Attributes

static const char * TypeNames_ []
static const EnumDef TypeDefinition_

Detailed Description

Specifies velocity type and statics for a velocity.


Member Enumeration Documentation

Enumerator:
Unknown 
Interval 
RMS 
Avg 
Delta 
Epsilon 
Eta 

Constructor & Destructor Documentation

VelocityDesc::VelocityDesc (  ) 
VelocityDesc::VelocityDesc ( Type   ) 

Member Function Documentation

void VelocityDesc::fillPar ( IOPar  )  const
static const char* VelocityDesc::getTypeString ( Type   )  [static]
static const char* VelocityDesc::getVelUnit ( bool  withparens = true  )  [static]
static bool VelocityDesc::isThomsen ( Type   )  [static]
Returns:
true if not unknown or a Velocity
bool VelocityDesc::isThomsen (  )  const
Returns:
true if not unknown or a Velocity
bool VelocityDesc::isVelocity (  )  const
Returns:
true if not unknown or a Thomsen parameter
static bool VelocityDesc::isVelocity ( Type   )  [static]
Returns:
true if not unknown or a Thomsen parameter
bool VelocityDesc::operator!= ( const VelocityDesc  )  const
bool VelocityDesc::operator== ( const VelocityDesc  )  const
static bool VelocityDesc::parseEnumType ( const char *  ,
Type  
) [static]
static void VelocityDesc::removePars ( IOPar  )  [static]
static const char* VelocityDesc::sKeyIsFeetPerSecond (  )  [static]
static const char* VelocityDesc::sKeyIsVelocity (  )  [static]
static const char* VelocityDesc::sKeyVelocityType (  )  [static]
static const EnumDef& VelocityDesc::TypeDef (  )  [static]
static const char** VelocityDesc::TypeNames (  )  [static]
bool VelocityDesc::usePar ( const IOPar  ) 

Member Data Documentation

const EnumDef VelocityDesc::TypeDefinition_ [static, protected]
const char* VelocityDesc::TypeNames_[] [static, protected]