CGMES_3_0_0
Loading...
Searching...
No Matches
CIMPP::PU Class Reference

Per Unit - a positive or negative value referred to a defined base. Values typically range from -10 to +10. More...

#include <PU.hpp>

Public Member Functions

 PU (long double value)
PU & operator= (long double rop)
 operator long double () const
const char * debugString () const
PU & operator+= (const PU &rhs)
PU & operator-= (const PU &rhs)
PU & operator*= (const PU &rhs)
PU & operator/= (const PU &rhs)

Public Attributes

long double value
bool initialized

Static Public Attributes

static const char debugName [] = "PU"

Friends

std::istream & operator>> (std::istream &lop, PU &rop)
std::ostream & operator<< (std::ostream &os, const PU &obj)

Detailed Description

Per Unit - a positive or negative value referred to a defined base. Values typically range from -10 to +10.


The documentation for this class was generated from the following files:
  • CGMES_3.0.0/PU.hpp
  • CGMES_3.0.0/PU.cpp