Construction
COleCurrency | Constructs a COleCurrency object. |
Attributes
GetStatus | Gets the status (validity) of this COleCurrency object. |
SetStatus | Sets the status (validity) for this COleCurrency object. |
Operations
SetCurrency | Sets the value of this COleCurrency object. |
Format | Generates a formatted string representation of a COleCurrency object. |
ParseCurrency | Reads a CURRENCY value from a string and sets the value of COleCurrency. |
Operators
operator CURRENCY | Converts a COleCurrency value into a CURRENCY. |
operator = | Copies a COleCurrency value. |
operator +, - | Adds, subtracts, and changes sign of COleCurrency values. |
operator +=, -= | Adds and subtracts a COleCurrency value from this COleCurrency object. |
operator *, / | Scales a COleCurrency value by an integer value. |
operator *=, /= | Scales this COleCurrency value by an integer value. |
operator ==, <, <=, etc. | Compares two COleCurrency values. |
Data Members
m_cur | Contains the underlying CURRENCY for this COleCurrency object. |
m_status | Contains the status of this COleCurrency object. |
Archive/Dump
operator << | Outputs a COleCurrency value to CArchive or CDumpContext. |
operator >> | Inputs a COleCurrency object from CArchive. |