Eaagles::Basic::LcDecibel Class Reference

Inherits Eaagles::Basic::LcNumber.

Inheritance diagram for Eaagles::Basic::LcDecibel:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Basic::LcDecibel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LcDecibel (const LCreal value)
 LcDecibel ()
 operator float () const
 operator double () const
LCreal getNumber () const
void setNumber (const LCreal v)
LcDecibeloperator= (const LCreal)
void operator+= (const LcDecibel &)
void operator+= (const LCreal)
void operator-= (const LcDecibel &)
void operator-= (const LCreal)

Detailed Description

Decibel container class.    db = 10 * LOG10(value)
         Provides methods for handling and operating with decibels.
         All member functions handle the number in decibels.

    Form name: dB 
    /pre>


Constructor & Destructor Documentation

Eaagles::Basic::LcDecibel::LcDecibel ( const LCreal  value  )  [inline]

Special constuctor that initializes the object to 'value' dB.

Eaagles::Basic::LcDecibel::LcDecibel (  )  [inline]


Member Function Documentation

Eaagles::Basic::LcDecibel::operator float (  )  const [inline]

Conversion operator: float(). C++ equivalent. Values are in decibels.

Eaagles::Basic::LcDecibel::operator double (  )  const [inline]

Conversion operator: double(). C++ equivalent. Values are in decibels.

LCreal Eaagles::Basic::LcDecibel::getNumber (  )  const [inline]

Convert the value from Decibels into the original units.

void Eaagles::Basic::LcDecibel::setNumber ( const LCreal  v  )  [inline]

LcDecibel & Eaagles::Basic::LcDecibel::operator= ( const   LCreal  )  [inline]

Assignment operator: = Assign value n to val and return pointer. C++ equivalent. Values are in decibels.

void Eaagles::Basic::LcDecibel::operator+= ( const LcDecibel  )  [inline]

Addition operators: + and +=. Are C++ equivalent. Values are in decibels.

void Eaagles::Basic::LcDecibel::operator+= ( const   LCreal  )  [inline]

void Eaagles::Basic::LcDecibel::operator-= ( const LcDecibel n  )  [inline]

Subtraction operators: - and -= C++ equivalent. Values are in decibels.

void Eaagles::Basic::LcDecibel::operator-= ( const   LCreal  )  [inline]


Generated on Tue Dec 19 16:26:09 2006 for Eaagles by  doxygen 1.5.0