#include <SEScalarFrequency.h>

Inherits CCompoundUnit.

Public Member Functions

 FrequencyUnit (const std::string &u)
 
virtual ~FrequencyUnit ()
 
 FrequencyUnit (const FrequencyUnit &)=delete
 
FrequencyUnitoperator= (const FrequencyUnit &)=delete
 
- Public Member Functions inherited from CCompoundUnit
 CCompoundUnit ()
 
 CCompoundUnit (const std::string &unitString)
 
 CCompoundUnit (const CCompoundUnit &src)
 
virtual ~CCompoundUnit ()
 
const CUnitDimensionGetDimension () const
 
const double & GetBigness () const
 
double GetBias () const
 
CCompoundUnitoperator= (const CCompoundUnit &rhs)
 
CCompoundUnitoperator*= (const CCompoundUnit &rhs)
 
CCompoundUnitoperator/= (const CCompoundUnit &rhs)
 
CCompoundUnit operator* (const CCompoundUnit &rhs) const
 
CCompoundUnit operator/ (const CCompoundUnit &rhs) const
 
CCompoundUnitRaise (CCompoundUnitElement::ExponentType)
 
bool operator== (const CCompoundUnit &rhs) const
 
bool operator!= (const CCompoundUnit &rhs) const
 
bool IsOfType (int quantityTypeID)
 
bool IsOfType (const std::string &quantityName)
 
bool IsDimensionless () const
 
bool IsDecibel () const
 
bool IsUnitEmpty () const
 
double GetDecibelLogScaleFactor () const
 
void DecibelModeOn ()
 
void DecibelModeOff ()
 
CCompoundUnitElementAddElement (const CCompoundUnitElement &)
 
void clear ()
 
void ParseString (const std::string &unitString)
 
std::string GetString () const
 
std::ostream & PrintSelf (std::ostream &output) const
 

Static Public Member Functions

static bool IsValidUnit (const std::string &unit)
 
static const FrequencyUnitGetCompoundUnit (const std::string &unit)
 

Static Public Attributes

static const FrequencyUnit Per_min
 
static const FrequencyUnit Per_s
 
static const FrequencyUnit Hz
 

Additional Inherited Members

- Protected Member Functions inherited from CCompoundUnit
void BuildDimension () const
 
void ComputeBigness () const
 

Constructor & Destructor Documentation

◆ FrequencyUnit() [1/2]

FrequencyUnit::FrequencyUnit ( const std::string &  u)
inline

◆ ~FrequencyUnit()

virtual FrequencyUnit::~FrequencyUnit ( )
inlinevirtual

◆ FrequencyUnit() [2/2]

FrequencyUnit::FrequencyUnit ( const FrequencyUnit )
delete

Member Function Documentation

◆ GetCompoundUnit()

const FrequencyUnit & FrequencyUnit::GetCompoundUnit ( const std::string &  unit)
static

◆ IsValidUnit()

bool FrequencyUnit::IsValidUnit ( const std::string &  unit)
static

◆ operator=()

FrequencyUnit & FrequencyUnit::operator= ( const FrequencyUnit )
delete

Member Data Documentation

◆ Hz

const FrequencyUnit FrequencyUnit::Hz
static

◆ Per_min

const FrequencyUnit FrequencyUnit::Per_min
static

◆ Per_s

const FrequencyUnit FrequencyUnit::Per_s
static

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.