OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | List of all members
Scaler Class Referenceabstract

Scaling of floating point numbers. More...

Inheritance diagram for Scaler:
[legend]

Public Member Functions

virtual ~Scaler ()
 
void put (char *) const
 
virtual bool isEmpty () const
 
virtual Scalerclone () const =0
 
virtual const char * type () const =0
 
virtual double scale (double) const =0
 
virtual double unScale (double) const
 
virtual const char * toString () const =0
 
virtual void fromString (const char *)=0
 

Static Public Member Functions

static Scalerget (const char *)
 

Detailed Description

Scaling of floating point numbers.

Scaler is an interface for scaling and scaling back numbers. Also, string I/O is defined, as well as a factory (Scaler::get).

Constructor & Destructor Documentation

virtual Scaler::~Scaler ( )
inlinevirtual

Member Function Documentation

virtual Scaler* Scaler::clone ( ) const
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

virtual void Scaler::fromString ( const char *  )
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

static Scaler* Scaler::get ( const char *  )
static
virtual bool Scaler::isEmpty ( ) const
inlinevirtual

Reimplemented in LinScaler.

void Scaler::put ( char *  ) const
virtual double Scaler::scale ( double  ) const
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

virtual const char* Scaler::toString ( ) const
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

virtual const char* Scaler::type ( ) const
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

virtual double Scaler::unScale ( double  ) const
inlinevirtual

Reimplemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.


Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019