Loxahatchee  v0.0.1-1346
Lox Convenience C++ Library
LoxMoney.hpp File Reference

Class to help manage currency. More...

#include "LoxNumbers.hpp"
#include <string>
#include <ostream>
#include <cstdint>
Include dependency graph for LoxMoney.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  Lox::Money
 Class to help manage currency. More...
 

Namespaces

 Lox
 Common methods and functionality easily shared between projects.
 

Functions

std::ostream & Lox::operator<< (std::ostream &os, const Money &money)
 
Money Lox::operator* (const long double lhs, const Money &rhs)
 allow things like "2.0 * cost" in addition to the usual "cost * 2.0" More...
 
Money Lox::operator* (const double lhs, const Money &rhs)
 allow things like "2.0 * cost" in addition to the usual "cost * 2.0" More...
 
Money Lox::operator* (const size_t lhs, const Money &rhs)
 allow things like "2.0 * cost" in addition to the usual "cost * 2.0" More...
 
Money Lox::operator* (const int lhs, const Money &rhs)
 allow things like "2.0 * cost" in addition to the usual "cost * 2.0" More...
 
Money Lox::operator+ (const long double lhs, const Money &rhs)
 allow things like "2.0 + cost" in addition to the usual "cost + 2.0" More...
 
Money Lox::operator+ (const double lhs, const Money &rhs)
 allow things like "2.0 + cost" in addition to the usual "cost + 2.0" More...
 
Money Lox::operator+ (const size_t lhs, const Money &rhs)
 allow things like "2.0 + cost" in addition to the usual "cost + 2.0" More...
 
Money Lox::operator+ (const int lhs, const Money &rhs)
 allow things like "2.0 + cost" in addition to the usual "cost + 2.0" More...
 

Detailed Description

Class to help manage currency.