OpendTect  7.0
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 ()
 
virtual Scalerclone () const =0
 
virtual void fromString (const char *)=0
 
virtual bool isEmpty () const
 
void put (char *, int sz) const
 
virtual double scale (double) const =0
 
virtual const char * toString () const =0
 
virtual const char * type () const =0
 
virtual double unScale (double) const
 

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

◆ ~Scaler()

virtual Scaler::~Scaler ( )
inlinevirtual

Member Function Documentation

◆ clone()

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

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

◆ fromString()

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

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

◆ get()

static Scaler* Scaler::get ( const char *  )
static

◆ isEmpty()

virtual bool Scaler::isEmpty ( ) const
inlinevirtual

Reimplemented in LinScaler.

◆ put()

void Scaler::put ( char *  ,
int  sz 
) const

◆ scale()

virtual double Scaler::scale ( double  ) const
pure virtual

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

◆ toString()

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

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

◆ type()

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

Implemented in AsymptScaler, ExpScaler, LogScaler, and LinScaler.

◆ unScale()

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. 1995-2024