Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

QuantLib::MXNCurrency Class Reference

#include <america.hpp>

Inheritance diagram for QuantLib::MXNCurrency:


List of all members.

Detailed Description

Mexican peso.

The ISO three-letter code is MXN; the numeric code is 484. It is divided in 100 centavos.

Definition at line 130 of file america.hpp.

Public Member Functions

const std::string & code () const
 ISO 4217 three-letter code, e.g, "USD".
std::string format () const
 output format
Integer fractionsPerUnit () const
 number of fractionary parts in a unit, e.g, 100
const std::string & fractionSymbol () const
 fraction symbol, e.g, ""
const std::string & name () const
 currency name, e.g, "U.S. Dollar"
Integer numericCode () const
 ISO 4217 numeric code, e.g, "840".
const Roundingrounding () const
 rounding convention
const std::string & symbol () const
 symbol, e.g, "$"
other info
bool isValid () const
 is this a usable instance?
const CurrencytriangulationCurrency () const
 currency used for triangulated exchange when required

Protected Attributes

boost::shared_ptr< Data > data_

Related Functions

(Note that these are not member functions.)

bool operator!= (const Currency &, const Currency &)
std::ostream & operator<< (std::ostream &, const Currency &)
bool operator== (const Currency &, const Currency &)

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

Generated by  Doxygen 1.6.0   Back to index