#include <xalanc/PlatformSupport/XalanNumberFormat.hpp>
|
| XalanNumberFormat (MemoryManager &theManager) |
|
virtual | ~XalanNumberFormat () |
|
MemoryManager & | getMemoryManager () |
|
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...
|
|
Definition at line 36 of file XalanNumberFormat.hpp.
◆ XalanNumberFormat()
xalanc::XalanNumberFormat::XalanNumberFormat |
( |
MemoryManager & |
theManager | ) |
|
|
explicit |
◆ ~XalanNumberFormat()
virtual xalanc::XalanNumberFormat::~XalanNumberFormat |
( |
| ) |
|
|
virtual |
◆ applyGrouping()
◆ create()
static XalanNumberFormat* xalanc::XalanNumberFormat::create |
( |
MemoryManager & |
theManager | ) |
|
|
inlinestatic |
◆ format() [1/7]
◆ format() [2/7]
◆ format() [3/7]
◆ format() [4/7]
◆ format() [5/7]
◆ format() [6/7]
◆ format() [7/7]
◆ getMemoryManager()
MemoryManager& xalanc::XalanNumberFormat::getMemoryManager |
( |
| ) |
|
|
inline |
◆ isGroupingUsed()
virtual bool xalanc::XalanNumberFormat::isGroupingUsed |
( |
| ) |
const |
|
virtual |
◆ setGroupingSeparator()
virtual void xalanc::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 xalanc::ICUXalanNumberFormatProxy.
◆ setGroupingSize()
virtual void xalanc::XalanNumberFormat::setGroupingSize |
( |
unsigned long |
size | ) |
|
|
virtual |
◆ setGroupingUsed()
virtual void xalanc::XalanNumberFormat::setGroupingUsed |
( |
bool |
bUsed | ) |
|
|
virtual |
The documentation for this class was generated from the following file: