#include <xalanc/ICUBridge/ICUXalanNumberFormatProxy.hpp>
|
| | ICUXalanNumberFormatProxy (MemoryManager &theManager) |
| |
| virtual | ~ICUXalanNumberFormatProxy () |
| |
| virtual XalanDOMString & | format (double theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLInt16 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLUInt16 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLInt32 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLUInt32 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLInt64 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual XalanDOMString & | format (XMLUInt64 theValue, XalanDOMString &theResult) |
| | Format a number into a string. More...
|
| |
| virtual bool | isGroupingUsed () const |
| | Whether groupings are used for numbers, for example, "234,678". More...
|
| |
| virtual void | setGroupingUsed (bool bUsed) |
| | Change whether groupings are used for numbers, for example, "234,678". More...
|
| |
| virtual void | setGroupingSize (unsigned long size) |
| | Change the size of groupings, for example, "234,678" uses a size of "3". More...
|
| |
| virtual void | setGroupingSeparator (const XalanDOMString &s) |
| | Change the separator string used for groupings, for example, "234,678" uses the separator ",". More...
|
| |
| | XalanNumberFormat (MemoryManager &theManager) |
| |
| virtual | ~XalanNumberFormat () |
| |
| MemoryManager & | getMemoryManager () |
| |
◆ ICUXalanNumberFormatProxy()
| xalanc::ICUXalanNumberFormatProxy::ICUXalanNumberFormatProxy |
( |
MemoryManager & |
theManager | ) |
|
|
explicit |
◆ ~ICUXalanNumberFormatProxy()
| virtual xalanc::ICUXalanNumberFormatProxy::~ICUXalanNumberFormatProxy |
( |
| ) |
|
|
virtual |
◆ format() [1/7]
Format a number into a string.
- Parameters
-
- Returns
- string representation of number
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [2/7]
Format a number into a string.
- Parameters
-
- Returns
- string representation of number
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [3/7]
Format a number into a string.
- Parameters
-
- Returns
- string representation of number
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [4/7]
Format a number into a string.
- Parameters
-
| theValue | number to format |
| theResult | the string result |
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [5/7]
Format a number into a string.
- Parameters
-
| theValue | number to format |
| theResult | the string result |
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [6/7]
Format a number into a string.
- Parameters
-
| theValue | number to format |
| theResult | the string result |
Reimplemented from xalanc::XalanNumberFormat.
◆ format() [7/7]
Format a number into a string.
- Parameters
-
| theValue | number to format |
| theResult | the string result |
Reimplemented from xalanc::XalanNumberFormat.
◆ isGroupingUsed()
| virtual bool xalanc::ICUXalanNumberFormatProxy::isGroupingUsed |
( |
| ) |
const |
|
virtual |
Whether groupings are used for numbers, for example, "234,678".
- Returns
- true if grouping used
Reimplemented from xalanc::XalanNumberFormat.
◆ setGroupingSeparator()
| virtual void xalanc::ICUXalanNumberFormatProxy::setGroupingSeparator |
( |
const XalanDOMString & |
s | ) |
|
|
virtual |
Change the separator string used for groupings, for example, "234,678" uses the separator ",".
- Parameters
-
| s | grouping separator string |
Reimplemented from xalanc::XalanNumberFormat.
◆ setGroupingSize()
| virtual void xalanc::ICUXalanNumberFormatProxy::setGroupingSize |
( |
unsigned long |
size | ) |
|
|
virtual |
Change the size of groupings, for example, "234,678" uses a size of "3".
- Parameters
-
Reimplemented from xalanc::XalanNumberFormat.
◆ setGroupingUsed()
| virtual void xalanc::ICUXalanNumberFormatProxy::setGroupingUsed |
( |
bool |
bUsed | ) |
|
|
virtual |
Change whether groupings are used for numbers, for example, "234,678".
- Parameters
-
| bUsed | true to use grouping |
Reimplemented from xalanc::XalanNumberFormat.
The documentation for this class was generated from the following file: