Bagikan melalui


COleCurrency Members

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

Format

Generates a formatted string representation of a COleCurrency object.

ParseCurrency

Reads a CURRENCY value from a string and sets the value of COleCurrency.

SetCurrency

Sets the value of this COleCurrency object.

Operators

operator *, /

Scales a COleCurrency value by an integer value.

operator *=, /=

Scales this COleCurrency value by an integer value.

operator +, -

Adds, subtracts, and changes sign of COleCurrency values.

operator +=, -=

Adds and subtracts a COleCurrency value from this COleCurrency object.

operator =

Copies a COleCurrency value.

operator ==, <, <=, etc.

Compares two COleCurrency values.

operator CURRENCY

Converts a COleCurrency value into a CURRENCY.

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.

See Also

Reference

COleCurrency Class

Hierarchy Chart