TwiceAsNice  2019-02-18
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Basda::Power Class Reference

This class represents the power from physics. More...

#include <Power.h>

Collaboration diagram for Basda::Power:
Collaboration graph

Public Member Functions

 Power ()
 
 Power (double powerInWatt)
 
double toDoubleInWatt () const
 
std::string toString () const
 
bool operator== (const Power &rhs) const
 
 Power ()
 
 Power (double powerInWatt)
 
double toDoubleInWatt () const
 
std::string toString () const
 
bool operator== (const Power &rhs) const
 
 Power ()
 
 Power (double powerInWatt)
 
double toDoubleInWatt () const
 
std::string toString () const
 
bool operator== (const Power &rhs) const
 

Static Public Member Functions

static PowerPtr null ()
 
static PowerPtr null ()
 
static PowerPtr null ()
 

Private Attributes

double powerInWatt_
 

Detailed Description

This class represents the power from physics.

Constructor & Destructor Documentation

◆ Power() [1/6]

Basda::Power::Power ( )

◆ Power() [2/6]

Basda::Power::Power ( double  powerInWatt)
explicit

◆ Power() [3/6]

Basda::Power::Power ( )

◆ Power() [4/6]

Basda::Power::Power ( double  powerInWatt)
explicit

◆ Power() [5/6]

Basda::Power::Power ( )

◆ Power() [6/6]

Basda::Power::Power ( double  powerInWatt)
explicit

Member Function Documentation

◆ null() [1/3]

PowerPtr Basda::Power::null ( )
static

◆ null() [2/3]

static PowerPtr Basda::Power::null ( )
static

◆ null() [3/3]

static PowerPtr Basda::Power::null ( )
static

◆ operator==() [1/3]

bool Basda::Power::operator== ( const Power rhs) const

◆ operator==() [2/3]

bool Basda::Power::operator== ( const Power rhs) const

◆ operator==() [3/3]

bool Basda::Power::operator== ( const Power rhs) const

◆ toDoubleInWatt() [1/3]

double Basda::Power::toDoubleInWatt ( ) const

◆ toDoubleInWatt() [2/3]

double Basda::Power::toDoubleInWatt ( ) const

◆ toDoubleInWatt() [3/3]

double Basda::Power::toDoubleInWatt ( ) const

◆ toString() [1/3]

std::string Basda::Power::toString ( ) const

◆ toString() [2/3]

std::string Basda::Power::toString ( ) const

◆ toString() [3/3]

string Basda::Power::toString ( ) const

Member Data Documentation

◆ powerInWatt_

double Basda::Power::powerInWatt_
private

The documentation for this class was generated from the following files: