Design Patterns
structural::composite::Currency Class Reference

#include <currency.h>

Collaboration diagram for structural::composite::Currency:

Public Member Functions

 Currency (const double &)
 
double value () const
 
void value (double)
 

Friends

bool operator== (const Currency &left, const Currency &right)
 
bool operator!= (const Currency &left, const Currency &right)
 

Constructor & Destructor Documentation

structural::composite::Currency::Currency ( const double &  price)
explicit

Member Function Documentation

double structural::composite::Currency::value ( ) const

Here is the caller graph for this function:

void structural::composite::Currency::value ( double  value)

Here is the call graph for this function:

Friends And Related Function Documentation

bool operator!= ( const Currency left,
const Currency right 
)
friend
bool operator== ( const Currency left,
const Currency right 
)
friend

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