#include <XalanNumberFormat.hpp>
Inherited by ICUXalanNumberFormatProxy.
|
| XalanNumberFormat (MemoryManager &theManager) |
|
virtual | ~XalanNumberFormat () |
|
MemoryManager & | getMemoryManager () |
|
virtual XalanDOMString & | format (double theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (int theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (unsigned int theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (long theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (unsigned long theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (XALAN_INT64 theValue, XalanDOMString &theResult) |
| Format a number into a string. More...
|
|
virtual XalanDOMString & | format (XALAN_UINT64 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...
|
|
Definition at line 36 of file XalanNumberFormat.hpp.
◆ XalanNumberFormat()
XalanNumberFormat::XalanNumberFormat |
( |
MemoryManager & |
theManager | ) |
|
|
explicit |
◆ ~XalanNumberFormat()
virtual XalanNumberFormat::~XalanNumberFormat |
( |
| ) |
|
|
virtual |
◆ applyGrouping()
◆ create()
◆ format() [1/7]
◆ format() [2/7]
◆ format() [3/7]
Format a number into a string.
- Parameters
-
theValue | number to format |
theResult | the string result |
Reimplemented in ICUXalanNumberFormatProxy.
◆ format() [4/7]
◆ format() [5/7]
Format a number into a string.
- Parameters
-
theValue | number to format |
theResult | the string result |
Reimplemented in ICUXalanNumberFormatProxy.
◆ format() [6/7]
Format a number into a string.
- Parameters
-
theValue | number to format |
theResult | the string result |
Reimplemented in ICUXalanNumberFormatProxy.
◆ format() [7/7]
Format a number into a string.
- Parameters
-
theValue | number to format |
theResult | the string result |
Reimplemented in ICUXalanNumberFormatProxy.
◆ getMemoryManager()
MemoryManager& XalanNumberFormat::getMemoryManager |
( |
| ) |
|
|
inline |
◆ isGroupingUsed()
virtual bool XalanNumberFormat::isGroupingUsed |
( |
| ) |
const |
|
virtual |
Whether groupings are used for numbers, for example, "234,678".
- Returns
- true if grouping used
Reimplemented in ICUXalanNumberFormatProxy.
◆ setGroupingSeparator()
virtual void XalanNumberFormat::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 in ICUXalanNumberFormatProxy.
◆ setGroupingSize()
virtual void XalanNumberFormat::setGroupingSize |
( |
unsigned long |
size | ) |
|
|
virtual |
Change the size of groupings, for example, "234,678" uses a size of "3".
- Parameters
-
Reimplemented in ICUXalanNumberFormatProxy.
◆ setGroupingUsed()
virtual void XalanNumberFormat::setGroupingUsed |
( |
bool |
bUsed | ) |
|
|
virtual |
Change whether groupings are used for numbers, for example, "234,678".
- Parameters
-
bUsed | true to use grouping |
Reimplemented in ICUXalanNumberFormatProxy.
The documentation for this class was generated from the following file: