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

Percentage on a defined base. For example, specify as 100 to indicate at the defined base. More...

#include <PerCent.hpp>

Public Member Functions

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

Public Attributes

long double value
bool initialized

Static Public Attributes

static const char debugName [] = "PerCent"

Friends

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

Detailed Description

Percentage on a defined base. For example, specify as 100 to indicate at the defined base.


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